Skip to content

Commit

Permalink
update to Playwright 1.39 (#331)
Browse files Browse the repository at this point in the history
* update to Playwright 1.39
  • Loading branch information
MarcusFelling authored Nov 15, 2023
1 parent ae757ee commit 770c223
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 27 deletions.
2 changes: 1 addition & 1 deletion .azurepipelines/contoso-traders-cloud-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,7 @@ stages:
- job: playwright_tests_ui
dependsOn: [provision]
container: mcr.microsoft.com/playwright:v1.36.2-jammy
container: mcr.microsoft.com/playwright:v1.39.0-jammy
variables:
APIURLSHOPPINGCART: $[ dependencies.provision.outputs['getCartsApiEndpoint.cartsApiEndpoint'] ]
APIURL: $[ dependencies.provision.outputs['getProductsApiEndpoint.productsApiEndpoint'] ]
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Playwright",
"image": "mcr.microsoft.com/playwright:v1.36.2-jammy",
"image": "mcr.microsoft.com/playwright:v1.39.0-jammy",
"features": {
"ghcr.io/devcontainers/features/node:1": {
"nodeGypDependencies": true,
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/contoso-traders-cloud-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ jobs:
timeout-minutes: 20
runs-on: ubuntu-22.04
container:
image: mcr.microsoft.com/playwright:v1.36.2-jammy
image: mcr.microsoft.com/playwright:v1.39.0-jammy
defaults:
run:
working-directory: src/ContosoTraders.Ui.Website
Expand Down Expand Up @@ -658,8 +658,7 @@ jobs:
run: HOME=/root npx playwright test
- name: upload playwright report
uses: actions/upload-artifact@v3
# only upload report if tests failed
if: steps.test.outcome != 'success'
if: always()
with:
name: playwright-report
path: src/ContosoTraders.Ui.Website/playwright-report/
Expand Down
64 changes: 43 additions & 21 deletions src/ContosoTraders.Ui.Website/package-lock.json

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

2 changes: 1 addition & 1 deletion src/ContosoTraders.Ui.Website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
]
},
"devDependencies": {
"@playwright/test": "1.36",
"@playwright/test": "^1.39.0",
"@types/node": "^18.11.18",
"babel-plugin-macros": "^3.1.0",
"csv-parse": "^5.5.0",
Expand Down

0 comments on commit 770c223

Please sign in to comment.