diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 71e4a7c94..275338609 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -28,7 +28,6 @@ jobs: uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - - uses: microsoft/playwright-github-action@v1 - uses: shivammathur/setup-php@v2 with: php-version: 7.4 @@ -37,6 +36,8 @@ jobs: npm install env: PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true + - name: Install deps + run: 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/.github/workflows/testcafe.yml b/.github/workflows/testcafe.yml index 167e4aefd..4c31a9927 100644 --- a/.github/workflows/testcafe.yml +++ b/.github/workflows/testcafe.yml @@ -21,7 +21,7 @@ jobs: strategy: matrix: - node-version: [12.x] + node-version: [14.x] steps: - uses: actions/checkout@v1 diff --git a/docs/changelog.md b/docs/changelog.md index 7fd1ade07..82203574b 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -7,6 +7,12 @@ layout: Section # Releases +## 3.3.3 + +* Fixed `DataCloneError: () => could not be cloned` when running data tests in run-workers +* πŸ‡ΊπŸ‡¦ Added #StandWithUkraine notice to CLI + + ## 3.3.2 * **[REST]** Fixed override of headers/token in `haveRequestHeaders()` and `amBearerAuthenticated()`. See [#3304](https://github.com/codeceptjs/CodeceptJS/issues/3304) by **[mirao](https://github.com/mirao)** @@ -50,8 +56,6 @@ npx codeceptjs run test-dir/*" * Improving the typings in many places * Improving the return type of helpers for TS users ([#3245](https://github.com/codeceptjs/CodeceptJS/issues/3245)) - **[nlespiaucq](https://github.com/nlespiaucq)** -πŸ‡ΊπŸ‡¦ Added #StandWithUkraine hashtag notice to CLI - ## 3.3.0 πŸ›©οΈ Features: diff --git a/package.json b/package.json index b5f69e536..a69886835 100644 --- a/package.json +++ b/package.json @@ -122,7 +122,7 @@ "mocha-parallel-tests": "^2.3.0", "nightmare": "^3.0.2", "nodemon": "^1.19.4", - "playwright": "^1.18.1", + "playwright": "^1.23.2", "puppeteer": "^10.4.0", "qrcode-terminal": "^0.12.0", "rosie": "^1.6.0", diff --git a/test/acceptance/codecept.Playwright.js b/test/acceptance/codecept.Playwright.js index 7cb3f0889..ce8747760 100644 --- a/test/acceptance/codecept.Playwright.js +++ b/test/acceptance/codecept.Playwright.js @@ -12,9 +12,9 @@ module.exports.config = { restart: process.env.BROWSER_RESTART || false, browser: process.env.BROWSER || 'chromium', ignoreHTTPSErrors: true, - webkit: { - ignoreHTTPSErrors: true, - } + webkit: { + ignoreHTTPSErrors: true, + }, }, JSONResponse: { requestHelper: 'Playwright',