diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index c309f8978..e2078deaa 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -36,8 +36,8 @@ jobs: npm install --legacy-peer-deps env: PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true - - name: Install deps - run: npm install playwright@1.35.1 & npx playwright install-deps + - name: Install browsers and deps + run: npx playwright install && npx playwright install-deps - name: start a server run: "php -S 127.0.0.1:8000 -t test/data/app &" - name: run chromium tests diff --git a/Dockerfile b/Dockerfile index d9f2a6be5..4f3f87b95 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Download Playwright and its dependencies -FROM mcr.microsoft.com/playwright:v1.35.1 +FROM mcr.microsoft.com/playwright:v1.39.0 ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true # Installing the pre-required packages and libraries diff --git a/package.json b/package.json index 2c3dadd72..79a1df29f 100644 --- a/package.json +++ b/package.json @@ -128,7 +128,7 @@ "jsdoc": "3.6.10", "jsdoc-typeof-plugin": "1.0.0", "json-server": "0.10.1", - "playwright": "1.38.1", + "playwright": "1.39.0", "puppeteer": "21.1.1", "qrcode-terminal": "0.12.0", "rosie": "2.1.0",