Skip to content

Commit

Permalink
chore: upgrade playwright 1.50 (#2753)
Browse files Browse the repository at this point in the history
## Proposed change

<!--
Please include a summary of the changes and the related issue.
Please also include relevant motivation and context.
-->

## Related issues

<!--
Please make sure to follow the [contribution
guidelines](https://github.com/amadeus-digital/Otter/blob/main/CONTRIBUTING.md)
-->

*- No issue associated -*

<!-- * 🐛 Fix #issue -->
<!-- * 🐛 Fix resolves #issue -->
<!-- * 🚀 Feature #issue -->
<!-- * 🚀 Feature resolves #issue -->
<!-- * :octocat: Pull Request #issue -->
  • Loading branch information
fpaul-1A authored Jan 30, 2025
2 parents a94b143 + 69bb7c3 commit 3e0ba44
Show file tree
Hide file tree
Showing 29 changed files with 32 additions and 28 deletions.
2 changes: 1 addition & 1 deletion apps/chrome-devtools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"@o3r/localization": "workspace:^",
"@o3r/logger": "workspace:^",
"@o3r/rules-engine": "workspace:^",
"@playwright/test": "~1.49.0",
"@playwright/test": "~1.50.0",
"@schematics/angular": "~18.2.0",
"@stylistic/eslint-plugin": "~2.7.0",
"@types/chrome": "^0.0.297",
Expand Down
2 changes: 1 addition & 1 deletion apps/showcase/e2e-playwright/playwright-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const config = defineConfig({
}
},
projects: [
{ name: 'Chromium', use: { browserName: 'chromium' } }
{ name: 'Chromium', use: { browserName: 'chromium', channel: 'chromium' } }
],
webServer: [
...process.env.USE_MOCKS
Expand Down
9 changes: 6 additions & 3 deletions apps/showcase/e2e-playwright/sanity/lighthouse-sanity.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,15 @@ import {
const baseUrl = process.env.PLAYWRIGHT_TARGET_URL || 'http://localhost:4200/';
const lighthouseConfig = {
thresholds: {
// Disable performance measurement because it is too unreliable in the current setup
performance: 0,
accessibility: 100,

'best-practices': 100
},
config: {
extends: 'lighthouse:default',
settings: {
onlyCategories: ['accessibility', 'best-practices']
}
},
opts: {
disableStorageReset: false
},
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion apps/showcase/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
"@o3r/eslint-plugin": "workspace:^",
"@o3r/schematics": "workspace:^",
"@o3r/testing": "workspace:^",
"@playwright/test": "~1.49.0",
"@playwright/test": "~1.50.0",
"@schematics/angular": "~18.2.0",
"@stylistic/eslint-plugin": "~2.7.0",
"@types/bootstrap": "^5.2.10",
Expand Down
3 changes: 2 additions & 1 deletion apps/showcase/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,8 @@
"outputs": [
"{options.defaultStyleFile}",
"{options.metadataOutput}",
"{projectRoot}/src/**/*.scss"
"{projectRoot}/src/**/*.scss",
"!{projectRoot}/src/styles.scss"
],
"inputs": [
"{projectRoot}/src/style/design-token.*.json",
Expand Down
2 changes: 1 addition & 1 deletion apps/showcase/src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
}

code {
font-family: 'Consolas', monospace;
font-size: inherit;
}

header {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@
"@o3r/telemetry": "workspace:^",
"@o3r/workspace": "workspace:^",
"@o3r/workspace-helpers": "workspace:^",
"@playwright/test": "~1.49.0",
"@playwright/test": "~1.50.0",
"@popperjs/core": "^2.11.5",
"@schematics/angular": "~18.2.0",
"@stylistic/eslint-plugin": "~2.7.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/@o3r/testing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@
"@o3r/localization": "workspace:^",
"@o3r/schematics": "workspace:^",
"@o3r/test-helpers": "workspace:^",
"@playwright/test": "~1.49.0",
"@playwright/test": "~1.50.0",
"@schematics/angular": "~18.2.0",
"@stylistic/eslint-plugin": "~2.7.0",
"@swc/helpers": "~0.5.0",
Expand Down
36 changes: 18 additions & 18 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8123,7 +8123,7 @@ __metadata:
"@o3r/logger": "workspace:^"
"@o3r/rules-engine": "workspace:^"
"@o3r/styling": "workspace:^"
"@playwright/test": "npm:~1.49.0"
"@playwright/test": "npm:~1.50.0"
"@popperjs/core": "npm:^2.11.5"
"@schematics/angular": "npm:~18.2.0"
"@stylistic/eslint-plugin": "npm:~2.7.0"
Expand Down Expand Up @@ -9432,7 +9432,7 @@ __metadata:
"@o3r/telemetry": "workspace:^"
"@o3r/workspace": "workspace:^"
"@o3r/workspace-helpers": "workspace:^"
"@playwright/test": "npm:~1.49.0"
"@playwright/test": "npm:~1.50.0"
"@popperjs/core": "npm:^2.11.5"
"@schematics/angular": "npm:~18.2.0"
"@stylistic/eslint-plugin": "npm:~2.7.0"
Expand Down Expand Up @@ -10437,7 +10437,7 @@ __metadata:
"@o3r/store-sync": "workspace:^"
"@o3r/styling": "workspace:^"
"@o3r/testing": "workspace:^"
"@playwright/test": "npm:~1.49.0"
"@playwright/test": "npm:~1.50.0"
"@popperjs/core": "npm:^2.11.5"
"@schematics/angular": "npm:~18.2.0"
"@stylistic/eslint-plugin": "npm:~2.7.0"
Expand Down Expand Up @@ -11056,7 +11056,7 @@ __metadata:
"@o3r/localization": "workspace:^"
"@o3r/schematics": "workspace:^"
"@o3r/test-helpers": "workspace:^"
"@playwright/test": "npm:~1.49.0"
"@playwright/test": "npm:~1.50.0"
"@schematics/angular": "npm:~18.2.0"
"@stylistic/eslint-plugin": "npm:~2.7.0"
"@swc/helpers": "npm:~0.5.0"
Expand Down Expand Up @@ -11935,14 +11935,14 @@ __metadata:
languageName: node
linkType: hard

"@playwright/test@npm:~1.49.0":
version: 1.49.1
resolution: "@playwright/test@npm:1.49.1"
"@playwright/test@npm:~1.50.0":
version: 1.50.0
resolution: "@playwright/test@npm:1.50.0"
dependencies:
playwright: "npm:1.49.1"
playwright: "npm:1.50.0"
bin:
playwright: cli.js
checksum: 10/bb0d5eda58ee0b5bbca732d2aa57782fadf420d101e08e16d5760179459c667907bd8d224ee3d6f43f3088378e377ef63d32ed605fec37605debf217c3efe8da
checksum: 10/1fec2ed986205b57b03f24392bb01c6454c1f0a5c14204ce921afd51c3f5d61f20eddb3a18d36a02b19b3e3d731c7ff6bb7ba3c622aabc8fa3802021aef7d21b
languageName: node
linkType: hard

Expand Down Expand Up @@ -31187,12 +31187,12 @@ __metadata:
languageName: node
linkType: hard

"playwright-core@npm:1.49.1":
version: 1.49.1
resolution: "playwright-core@npm:1.49.1"
"playwright-core@npm:1.50.0":
version: 1.50.0
resolution: "playwright-core@npm:1.50.0"
bin:
playwright-core: cli.js
checksum: 10/baa39a53024ec7744708410f2b952ac3aa2e1a6d311dabfa303523712848eba142fce5c20f1b2ed2a66fbd9a415d22ea8642b0f70423360aaebd4b41c47d364e
checksum: 10/0d27e52164bcc37ed5aeaa0c7efa6a0b3616cfbb01e206c26572bff8b8e5f0923a993369c826056cd7bee4b975508a1ec257b533098ee9db7bc5b75832110e4d
languageName: node
linkType: hard

Expand All @@ -31212,18 +31212,18 @@ __metadata:
languageName: node
linkType: hard

"playwright@npm:1.49.1":
version: 1.49.1
resolution: "playwright@npm:1.49.1"
"playwright@npm:1.50.0":
version: 1.50.0
resolution: "playwright@npm:1.50.0"
dependencies:
fsevents: "npm:2.3.2"
playwright-core: "npm:1.49.1"
playwright-core: "npm:1.50.0"
dependenciesMeta:
fsevents:
optional: true
bin:
playwright: cli.js
checksum: 10/49fb063f4a107b8090f66d2d351ebd51fbb66843a8f95a161fa0c0e0b5156515961e75cc10f4249f61b9d2af51f762dda505c62b096d8f61cd47d1ff73ab39d2
checksum: 10/53521f05c48ab51a37d6fa280a7c1e6486e2879f9997e877227517945faf195ce16829cf144709bba292c3023bcd07cf44a4dd965458c9adc30ea6fbe1f0f74a
languageName: node
linkType: hard

Expand Down

0 comments on commit 3e0ba44

Please sign in to comment.