Open MikeMcC399 opened 1 month ago
Further test results which may assist troubleshooting:
Results of yarn workspace @packages/driver cypress:run --browser webkit --spec cypress/e2e/commands/cookies.cy.js
dependent on version of playwright-webkit
Playwright | pass | fail | WebKit | Notes |
---|---|---|---|---|
1.24.2 | 129 | 0 | 16.0 | (1) |
1.34.3 | 129 | 0 | 16.4 | (2) |
1.35.0 | 129 | 0 | 16.4 | (3) |
1.36.2 | 129 | 0 | 17.0 | (3) |
1.37.0 | 128 | 1 | 17.0 | (4) |
1.37.1 | 127 | 2 | 17.0 | (5) |
1.38.1 | 127 | 2 | 17.0 | (5) |
1.39.0 | 127 | 2 | 17.4 | (5) |
1.40.1 | 128 | 1 | 17.4 | (4) |
1.41.2 | 127 | 2 | 17.4 | (5) |
1.42.1 | 127 | 2 | 17.4 | (5) |
1.43.1 | 127 | 2 | 17.4 | (5) |
1.44.1 | 127 | 2 | 17.4 | (5) |
1.45.0 | 127 | 2 | 17.4 | (6) |
1.45.1 | 126 | 3 | 17.4 | (7) |
1.45.3 | 126 | 3 | 17.4 | (7) |
1.46.0 | 127 | 3 | 18.0 | (7) |
(1) Currently configured version (2) Previously recommended version (3) Test does not exit and instead wrongly opens Cypress runner at end in global mode (4) Failure is AssertionError: expected 'foobar.com value' to equal 'www.foobar.com value' (5) Failures as (4) above, additionally AssertionError: expected 'key2' to equal 'key1' (6) Failure as (4) above, additionally AssertionError: expected { Object (name, value, ...) } to have property 'sameSite' of 'no_restriction', but got 'lax' (7) Failures as (4), (5) & (6) above
Change version with for instance:
yarn add playwright-webkit@1.45.3 -D -W
yarn playwright install-deps webkit
Test with:
yarn workspace @packages/driver cypress:run --browser webkit --spec cypress/e2e/commands/cookies.cy.js
View WebKit version with
yarn workspace @packages/driver cypress:open --e2e --browser webkit
Settings > Project settings > Resolved configuration (Fails to launch Cypress Runner with some old versions)
For debug logs use:
export DEBUG=cypress:server:browsers:webkit-automation
Current behavior
If an attempt is made to update playwright-webkit to the latest version in Cypress source code, it fails the Cypress test spec
which is part of
driver-integration-tests-webkit
.This is reproducible on Ubuntu with versions of playwright-webkit starting with
1.37.0
and extending to the current version (with WebKit17.4
18.0
).Cypress is currently configured to use playwright-webkit@1.24.2 released in July 2022:
https://github.com/cypress-io/cypress/blob/d8884e0a342e92a41fb3e187a807ae7babab3cc7/package.json#L189
Desired behavior
WebKit should pass all tests from
driver-integration-tests-webkit
when using the latest version ofplaywright-webkit
.Test code to reproduce
or
and select
cypress/e2e/commands/cookies.cy.js
to run in UI.Playwright Version
First reported on playwright-webkit@1.45.3 Continues to be reproducible on playwright-webkit@1.47.0
Cypress Version
First reported on
13.13.2
Continues to be reproducible on13.14.2
Node version
v18.17.1
Operating System
UbuntuUbuntu22.04.4
LTS22.04.5
LTSDebug Logs
See failures in CircleCI at https://app.circleci.com/pipelines/github/cypress-io/cypress/63152/workflows/e49a5390-7dc4-432e-abce-391b205c080b/jobs/2615104
Other