|
62 | 62 | "test": "jest",
|
63 | 63 | "test:playwright": "playwright test",
|
64 | 64 | "test:playwright:open": "yarn test:playwright --ui",
|
65 |
| - "test:playwright:screenshots": "yarn test:playwright:screenshots:build && yarn test:playwright:screenshots:run", |
66 |
| - "test:playwright:screenshots:build": "docker build playwright -t element-web-playwright", |
67 |
| - "test:playwright:screenshots:run": "docker run --rm --network host -e BASE_URL -e CI -v $(pwd):/work/ -v $(node -e 'console.log(require(`path`).dirname(require.resolve(`matrix-js-sdk/package.json`)))'):/work/node_modules/matrix-js-sdk -v /var/run/docker.sock:/var/run/docker.sock -v /tmp/:/tmp/ -it element-web-playwright --grep @screenshot --project=Chrome", |
| 65 | + "test:playwright:screenshots": "playwright-screenshots --project=Chrome", |
68 | 66 | "coverage": "yarn test --coverage",
|
69 | 67 | "analyse:webpack-bundles": "webpack-bundle-analyzer webpack-stats.json webapp",
|
70 | 68 | "update:jitsi": "curl -s https://meet.element.io/libs/external_api.min.js > ./res/jitsi_external_api.min.js"
|
71 | 69 | },
|
72 | 70 | "resolutions": {
|
| 71 | + "@playwright/test": "1.50.1", |
73 | 72 | "@types/react": "18.3.18",
|
74 | 73 | "@types/react-dom": "18.3.5",
|
75 | 74 | "oidc-client-ts": "3.1.0",
|
76 | 75 | "jwt-decode": "4.0.0",
|
77 | 76 | "caniuse-lite": "1.0.30001701",
|
| 77 | + "testcontainers": "10.20.0", |
78 | 78 | "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0",
|
79 | 79 | "wrap-ansi": "npm:wrap-ansi@^7.0.0"
|
80 | 80 | },
|
|
158 | 158 | "devDependencies": {
|
159 | 159 | "@action-validator/cli": "^0.6.0",
|
160 | 160 | "@action-validator/core": "^0.6.0",
|
161 |
| - "@axe-core/playwright": "^4.8.1", |
162 | 161 | "@babel/core": "^7.12.10",
|
163 | 162 | "@babel/eslint-parser": "^7.12.10",
|
164 | 163 | "@babel/eslint-plugin": "^7.12.10",
|
|
178 | 177 | "@babel/preset-typescript": "^7.12.7",
|
179 | 178 | "@babel/runtime": "^7.12.5",
|
180 | 179 | "@casualbot/jest-sonar-reporter": "2.2.7",
|
| 180 | + "@element-hq/element-web-playwright-common": "^1.1.5", |
181 | 181 | "@peculiar/webcrypto": "^1.4.3",
|
182 |
| - "@playwright/test": "^1.40.1", |
| 182 | + "@playwright/test": "^1.50.1", |
183 | 183 | "@principalstudio/html-webpack-inject-preload": "^1.2.7",
|
184 | 184 | "@sentry/webpack-plugin": "^3.0.0",
|
185 | 185 | "@stylistic/eslint-plugin": "^3.0.0",
|
186 | 186 | "@svgr/webpack": "^8.0.0",
|
187 |
| - "@testcontainers/postgresql": "^10.16.0", |
188 | 187 | "@testing-library/dom": "^10.4.0",
|
189 | 188 | "@testing-library/jest-dom": "^6.4.8",
|
190 | 189 | "@testing-library/react": "^16.0.0",
|
|
259 | 258 | "jsqr": "^1.4.0",
|
260 | 259 | "knip": "^5.36.2",
|
261 | 260 | "lint-staged": "^15.0.2",
|
262 |
| - "mailpit-api": "^1.0.5", |
263 | 261 | "matrix-web-i18n": "^3.2.1",
|
264 | 262 | "mini-css-extract-plugin": "2.9.2",
|
265 | 263 | "minimist": "^1.2.6",
|
266 | 264 | "modernizr": "^3.12.0",
|
267 | 265 | "node-fetch": "^2.6.7",
|
268 |
| - "playwright-core": "^1.45.1", |
| 266 | + "playwright-core": "^1.51.0", |
269 | 267 | "postcss": "8.4.46",
|
270 | 268 | "postcss-easings": "^4.0.0",
|
271 | 269 | "postcss-hexrgba": "2.1.0",
|
|
282 | 280 | "rimraf": "^6.0.0",
|
283 | 281 | "semver": "^7.5.2",
|
284 | 282 | "source-map-loader": "^5.0.0",
|
285 |
| - "strip-ansi": "^7.1.0", |
286 | 283 | "stylelint": "^16.13.0",
|
287 | 284 | "stylelint-config-standard": "^37.0.0",
|
288 | 285 | "stylelint-scss": "^6.0.0",
|
289 | 286 | "stylelint-value-no-unknown-custom-properties": "^6.0.1",
|
290 | 287 | "terser-webpack-plugin": "^5.3.9",
|
291 |
| - "testcontainers": "^10.16.0", |
| 288 | + "testcontainers": "^10.20.0", |
292 | 289 | "ts-node": "^10.9.1",
|
293 | 290 | "typescript": "5.8.2",
|
294 | 291 | "util": "^0.12.5",
|
|
0 commit comments