Skip to content

Commit 75da153

Browse files
committed
chore: update web test runner and playwright
1 parent 142fe7f commit 75da153

File tree

8 files changed

+234
-233
lines changed

8 files changed

+234
-233
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ executors:
77
resource_class: medium
88
node:
99
docker:
10-
- image: mcr.microsoft.com/playwright:v1.44.0
10+
- image: mcr.microsoft.com/playwright:v1.53.1
1111
resource_class: xlarge
1212
environment:
1313
NODE_ENV: development

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
"@lit/react": "^1.0.4",
103103
"@open-wc/dev-server-hmr": "^0.2.0",
104104
"@open-wc/testing": "^4.0.0",
105-
"@playwright/test": "^1.44.0",
105+
"@playwright/test": "^1.53.1",
106106
"@rollup/plugin-commonjs": "^25.0.7",
107107
"@rollup/plugin-json": "^6.0.1",
108108
"@rollup/plugin-node-resolve": "^15.2.3",
@@ -134,11 +134,11 @@
134134
"@web/dev-server-rollup": "^0.6.4",
135135
"@web/rollup-plugin-copy": "^0.5.1",
136136
"@web/rollup-plugin-html": "^2.3.0",
137-
"@web/test-runner": "^0.18.3",
137+
"@web/test-runner": "^0.20.2",
138138
"@web/test-runner-commands": "^0.9.0",
139-
"@web/test-runner-junit-reporter": "^0.7.2",
140-
"@web/test-runner-playwright": "^0.11.0",
141-
"@web/test-runner-visual-regression": "^0.9.0",
139+
"@web/test-runner-junit-reporter": "^0.8.0",
140+
"@web/test-runner-playwright": "^0.11.1",
141+
"@web/test-runner-visual-regression": "^0.10.0",
142142
"@webcomponents/webcomponentsjs": "^2.8.0",
143143
"@yarnpkg/types": "^4.0.1",
144144
"alex": "^11.0.1",

packages/.eslintrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@
8888
"*.test.ts",
8989
"*.stories.ts",
9090
"**/benchmark/*.ts",
91-
"**/test/*.ts"
91+
"**/test/*.ts",
92+
"**/stories/*.ts"
9293
],
9394
"rules": {
9495
"@spectrum-web-components/document-active-element": ["off"],

packages/icons-workflow/bin/build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import prettier from 'prettier';
1919
import Case from 'case';
2020
import { fileURLToPath } from 'url';
2121

22-
import systemsIconMapping from './icons-mapping.json' assert { type: 'json' };
22+
import systemsIconMapping from './icons-mapping.json' with { type: 'json' };
2323

2424
const __dirname = path.dirname(fileURLToPath(import.meta.url));
2525

packages/iconset/stories/icons-demo.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import bodyStyles from '@spectrum-web-components/styles/body.js';
3131
import '@spectrum-web-components/icon/sp-icon.js';
3232
import '@spectrum-web-components/help-text/sp-help-text.js';
3333

34-
import iconsList from './iconsList.json' assert { type: 'json' };
34+
import iconsList from './iconsList.json' with { type: 'json' };
3535

3636
import {
3737
SystemResolutionController,
@@ -209,7 +209,8 @@ export class IconsDemo extends SpectrumElement {
209209
var(
210210
--spectrum-alias-focus-ring-gap,
211211
var(--spectrum-spacing-50)
212-
) * 2
212+
) *
213+
2
213214
);
214215
}
215216
`,

projects/css-custom-vars-viewer/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"@web/dev-server": "^0.4.6",
6060
"@web/storybook-builder": "^0.1.7",
6161
"@web/storybook-framework-web-components": "^0.1.1",
62-
"@web/test-runner": "^0.18.3",
62+
"@web/test-runner": "^0.20.2",
6363
"concurrently": "^8.0.0",
6464
"react": "^18.2.0",
6565
"react-dom": "^18.2.0",

test/visual/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import { StoryDecorator } from '@spectrum-web-components/story-decorator';
2929
import '@spectrum-web-components/story-decorator/sp-story-decorator.js';
3030
import { Color, Scale } from '@spectrum-web-components/theme';
3131
import { emulateMedia, sendKeys } from '@web/test-runner-commands';
32-
import { visualDiff } from '@web/test-runner-visual-regression';
32+
import { visualDiff } from '@web/test-runner-visual-regression/browser/commands';
3333
import { render } from 'lit';
3434
import { ignoreResizeObserverLoopError } from '../testing-helpers.js';
3535

0 commit comments

Comments
 (0)