Skip to content

Commit

Permalink
chore(e2e-tests): extended visual mode selection for e2e tests + move…
Browse files Browse the repository at this point in the history
…d to autodetected config

Signed-off-by: Manuel Zedel <[email protected]>
  • Loading branch information
mzedel committed Aug 18, 2023
1 parent 456dde0 commit d6d1508
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/e2e_tests/docker-compose.e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ services:
- ${GUI_REPOSITORY}/junit:/e2e/junit
- ${GUI_REPOSITORY}/logs:/root/.npm/_logs
- ${GUI_REPOSITORY}/screenshots:/e2e/test-results
- ${GUI_REPOSITORY}/tests/e2e_tests/config.ts:/e2e/config.ts
- ${GUI_REPOSITORY}/tests/e2e_tests/dockerClient:/e2e/dockerClient
- ${GUI_REPOSITORY}/tests/e2e_tests/fixtures:/e2e/fixtures
- ${GUI_REPOSITORY}/tests/e2e_tests/integration:/e2e/integration
- ${GUI_REPOSITORY}/tests/e2e_tests/package.json:/e2e/package.json
- ${GUI_REPOSITORY}/tests/e2e_tests/playwright.config.ts:/e2e/playwright.config.ts
- ${GUI_REPOSITORY}/tests/e2e_tests/utils:/e2e/utils
- ${GUI_REPOSITORY}/videos:/e2e/videos

Expand Down
7 changes: 4 additions & 3 deletions tests/e2e_tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@
"url": "git+https://github.com/mendersoftware/integration.git"
},
"scripts": {
"test": "npx playwright test --workers 1 --config=config.ts",
"test-ci": "mv mender-demo-artifact.mender fixtures/ && npx playwright test --workers 1 --config=config.ts",
"test-visual": "npx playwright test --ui --workers 1 --config=config.ts"
"test": "npx playwright test --workers 1",
"test-ci": "mv mender-demo-artifact.mender fixtures/ && npx playwright test --workers 1",
"test-visual": "PWDEBUG=1 npx playwright test --workers 1",
"test-visual-new": "npx playwright test --ui --workers 1"
},
"author": "Northern.tech AS",
"license": "Apache-2.0",
Expand Down
File renamed without changes.

0 comments on commit d6d1508

Please sign in to comment.