Skip to content

Commit

Permalink
chore(e2e): restart examples docker containers
Browse files Browse the repository at this point in the history
Assumes that the tester has build new docker images

Intention: reduce the risk that code changes have been made (core, ui), but the application tested in the ui tests is not refreshed
  • Loading branch information
timonback committed May 20, 2024
1 parent ee1de1c commit f4aad15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions springwolf-examples/e2e/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ export default defineConfig({
// },
],

/* Run your loal dev server before starting the tests */
/* Run your local dev server before starting the tests */
webServer: {
cwd: '../springwolf-' + getExampleProject() + '-example',
command: 'docker compose up',
command: 'docker compose down -v && docker compose up',
url: 'http://127.0.0.1:8080/springwolf/docs.json',
reuseExistingServer: !process.env.CI,
},
Expand Down

0 comments on commit f4aad15

Please sign in to comment.