Skip to content

Commit 46b1603

Browse files
committed
chore: update playwright
1 parent 348afb8 commit 46b1603

File tree

5 files changed

+49
-49
lines changed

5 files changed

+49
-49
lines changed

.github/workflows/TASKLIST_CARBONISATION.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
name: Run visual regression
1212
runs-on: ubuntu-latest
1313
container:
14-
image: mcr.microsoft.com/playwright:v1.40.1
14+
image: mcr.microsoft.com/playwright:v1.43.0
1515
options: --user 1001:1000
1616
steps:
1717
- name: Checkout form-js

.github/workflows/UPDATE_VISUAL_SNAPSHOTS.yml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -9,28 +9,28 @@ jobs:
99
if: github.event.pull_request.state != 'closed' && (github.event.label.name == 'update-snapshots' || contains( github.event.pull_request.labels.*.name, 'update-snapshots'))
1010
runs-on: ubuntu-latest
1111
container:
12-
image: mcr.microsoft.com/playwright:v1.40.1
12+
image: mcr.microsoft.com/playwright:v1.43.0
1313
options: --user 1001:1000
1414

1515
steps:
16-
- name: Check out repository code
17-
uses: actions/checkout@v4
18-
- name: Setup NPM cache
19-
uses: actions/setup-node@v4
20-
with:
21-
node-version: "20"
22-
cache: "npm"
23-
- name: Install node dependencies
24-
run: npm ci
25-
- name: Build frontend
26-
run: npm run build
27-
- name: Build mock website
28-
run: npm run build:e2e
29-
- name: Start server
30-
run: npm run start:visual-preview
31-
- name: Run Playwright tests
32-
run: npm run test:visual -- --update-snapshots
33-
- name: Commit screenshots
34-
uses: stefanzweifel/git-auto-commit-action@v5
35-
with:
36-
commit_message: "chore: updated snapshots"
16+
- name: Check out repository code
17+
uses: actions/checkout@v4
18+
- name: Setup NPM cache
19+
uses: actions/setup-node@v4
20+
with:
21+
node-version: "20"
22+
cache: "npm"
23+
- name: Install node dependencies
24+
run: npm ci
25+
- name: Build frontend
26+
run: npm run build
27+
- name: Build mock website
28+
run: npm run build:e2e
29+
- name: Start server
30+
run: npm run start:visual-preview
31+
- name: Run Playwright tests
32+
run: npm run test:visual -- --update-snapshots
33+
- name: Commit screenshots
34+
uses: stefanzweifel/git-auto-commit-action@v5
35+
with:
36+
commit_message: "chore: updated snapshots"

.github/workflows/VISUAL_REGRESSION.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jobs:
55
test:
66
runs-on: ubuntu-latest
77
container:
8-
image: mcr.microsoft.com/playwright:v1.40.1
8+
image: mcr.microsoft.com/playwright:v1.43.0
99
options: --user 1001:1000
1010
steps:
1111
- name: Check out repository code

package-lock.json

Lines changed: 23 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"test:visual": "playwright test visual",
3737
"build:e2e": "vite build",
3838
"start:visual-preview": "vite preview --port 8080 --logLevel silent &",
39-
"start:container": "docker run --rm --network host -v $(pwd):/work/ -w /work/ -it mcr.microsoft.com/playwright:v1.40.1 /bin/bash"
39+
"start:container": "docker run --rm --network host -v $(pwd):/work/ -w /work/ -it mcr.microsoft.com/playwright:v1.43.0 /bin/bash"
4040
},
4141
"repository": {
4242
"type": "git",
@@ -66,7 +66,7 @@
6666
"@bpmn-io/properties-panel": "^3.18.2",
6767
"@carbon/react": "^1.42.1",
6868
"@carbon/styles": "^1.42.1",
69-
"@playwright/test": "^1.40.1",
69+
"@playwright/test": "^1.43.0",
7070
"@rollup/plugin-alias": "^5.0.0",
7171
"@rollup/plugin-babel": "^6.0.0",
7272
"@rollup/plugin-commonjs": "^25.0.0",

0 commit comments

Comments
 (0)