Skip to content

Commit

Permalink
Update snapshots and playwright version
Browse files Browse the repository at this point in the history
  • Loading branch information
tgreenx committed Jun 13, 2024
1 parent adb8191 commit 2aec923
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 31 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 18.x
cache: npm

- name: Install dependencies
Expand Down
4 changes: 2 additions & 2 deletions docs/Testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ npm run e2e
If the appearance of the GUI changes some tests might fail as the baseline for
visual comparison is no longer up to date. In this case it is required to update
the snapshots. The following commands updates the snapshots while ensuring a
similar environment than the one the CI runs in is used (ubuntu focal and UTC
similar environment than the one the CI runs in is used (Ubuntu 22.04 and UTC
time).

```sh
docker run --rm --network host -v $(pwd):/work/ -w /work/ -it mcr.microsoft.com/playwright:v1.28.0-jammy /bin/bash
docker run --rm --network host -v $(pwd):/work/ -w /work/ -it mcr.microsoft.com/playwright:v1.44.1-jammy /bin/bash
npm run e2e:install
npm run e2e:update
exit
Expand Down
Binary file modified e2e/FR11.e2e-spec.ts-snapshots/domain-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified e2e/FR21.e2e-spec.ts-snapshots/results-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
50 changes: 25 additions & 25 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"build": "ng build --configuration production",
"release": "npm run build && node scripts/create_release.js",
"lint": "ng lint",
"e2e": "playwright test",
"e2e:update": "playwright test --update-snapshots",
"e2e": "playwright --version && playwright test",
"e2e:update": "playwright --version && playwright test --update-snapshots",
"e2e:install": "playwright install chromium",
"e2e:install-deps": "playwright install-deps chromium",
"e2e:test-server": "ng build --configuration=tests --localize && node scripts/test_server.js",
Expand Down Expand Up @@ -40,7 +40,7 @@
"@angular/cli": "^13.3.9",
"@angular/compiler-cli": "^13.3.11",
"@angular/language-service": "^13.3.11",
"@playwright/test": "^1.41.2",
"@playwright/test": "^1.44.1",
"@types/file-saver": "^2.0.1",
"@types/node": "^13.11.0",
"archiver": "^3.1.1",
Expand Down

0 comments on commit 2aec923

Please sign in to comment.