Skip to content

Commit 0bcdb4c

Browse files
committed
we do still run tests against firefox 134
1 parent 5f5e958 commit 0bcdb4c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

packages/driver/cypress/e2e/commands/cookies.cy.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1376,10 +1376,12 @@ describe('src/cy/commands/cookies', () => {
13761376

13771377
// @see https://bugzilla.mozilla.org/show_bug.cgi?id=1550032
13781378
// Firefox bidi returns "unspecified" for sameSite;
1379-
// webkit returns "no_restriction" for sameSite;
1379+
// webkit & firefox < 135 return "no_restriction" for sameSite;
13801380
// other browsers do not return sameSite at all
1381-
const sameSite = Cypress.isBrowser('webkit')
1382-
? 'no_restriction' :
1381+
const sameSite = (
1382+
(Cypress.isBrowser('firefox') && Number(Cypress.browser.majorVersion) < 135) ||
1383+
Cypress.isBrowser('webkit')
1384+
) ? 'no_restriction' :
13831385
Cypress.isBrowser('firefox') ? 'unspecified' : null
13841386

13851387
if (sameSite) {

0 commit comments

Comments
 (0)