Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(webkit): fix multidomain driver tests in WebKit #23442

Merged
merged 111 commits into from
Oct 12, 2022
Merged
Show file tree
Hide file tree
Changes from 107 commits
Commits
Show all changes
111 commits
Select commit Hold shift + click to select a range
5b5ea12
Initial async changes
mjhenkes Jul 18, 2022
91678a8
Small fixes and test updates.
mjhenkes Jul 18, 2022
49c74a6
updating tests
mjhenkes Jul 19, 2022
e686ab4
Merge branch 'develop' into matth/cy-origin-async-attach
mjhenkes Aug 3, 2022
e70fed9
Fixes for cookie login tests
mjhenkes Aug 5, 2022
382ad34
remove the onlys
mjhenkes Aug 5, 2022
206cbd8
Most tests passing
mjhenkes Aug 11, 2022
b03269c
Fix driver tests?
mjhenkes Aug 11, 2022
7754402
fix firefox test?
mjhenkes Aug 12, 2022
d6c5f45
fix unit tests
mjhenkes Aug 12, 2022
32ceeba
fix tests??
mjhenkes Aug 12, 2022
cd1a90c
a better check
mjhenkes Aug 12, 2022
bb45506
fix integration tests
mjhenkes Aug 12, 2022
1dc9554
minor cleanup
mjhenkes Aug 12, 2022
8ab2e61
Comment out tyler fix for 10.0 origin issue
mjhenkes Aug 12, 2022
0d4d603
also fix integration tests
mjhenkes Aug 12, 2022
774da85
remove fixmes
mjhenkes Aug 12, 2022
2106204
Adding Retries for cookie actions. May break other error tests.
mjhenkes Aug 17, 2022
9e20c9d
Address (some) PR comments
mjhenkes Aug 18, 2022
297e41b
factor console logging out of run.ts
flotwig Aug 25, 2022
173de9f
fix print-run
flotwig Aug 25, 2022
e493600
minimize diff
flotwig Aug 25, 2022
beb3f2d
chore(server): convert browsers/index to typescript
flotwig Aug 25, 2022
4957a83
fix tests
flotwig Aug 25, 2022
c255548
update stubbed tests
flotwig Aug 25, 2022
b01e8c0
convert electron.js to .ts
flotwig Aug 25, 2022
ce15192
Suggestions from code review
flotwig Aug 26, 2022
8bd49f3
Clean up new type errors
flotwig Aug 26, 2022
8e8f62a
electron.connectToExisting can be sync
flotwig Aug 26, 2022
501895a
more type errors for the type god
flotwig Aug 26, 2022
5e74399
Suggestions from code review
flotwig Aug 26, 2022
d25b9e0
refactor: move more of video capture into browser automations
flotwig Aug 27, 2022
9b8cfbe
unit tests
flotwig Aug 29, 2022
c1b1790
Merge branch 'develop' into matth/cy-origin-async-attach
mjhenkes Aug 29, 2022
a7f6d4b
Merge remote-tracking branch 'origin/develop' into refactor-defaultBr…
flotwig Aug 29, 2022
e3b1979
refactor: move videoCapture to browsers
flotwig Aug 30, 2022
c3f6915
fix snapshots
flotwig Aug 30, 2022
e8e2b7e
update to warn about cross origin command AUT in assertions
mjhenkes Aug 30, 2022
b6d4471
Fix type errors
mjhenkes Aug 30, 2022
ce0a27f
fix multi-spec videos?
flotwig Aug 30, 2022
e41dd70
webkit video recording works!
flotwig Aug 30, 2022
645a8d7
webkit system tests
flotwig Aug 30, 2022
059748b
skip system-tests that won't be fixed in this PR
flotwig Aug 31, 2022
84554e4
fix single-tab mode
flotwig Aug 31, 2022
2b9f33f
cleanup/api renames
flotwig Aug 31, 2022
115a07c
fix more tests
flotwig Aug 31, 2022
4ad2279
minimize diff, fix ff
flotwig Aug 31, 2022
a449c8f
fix unit tests
flotwig Aug 31, 2022
2468f9f
fix tests
flotwig Aug 31, 2022
d38ae27
cleanup
flotwig Aug 31, 2022
47adf21
Merge remote-tracking branch 'origin/develop' into webkit-video
flotwig Sep 1, 2022
ed4c1e3
Move document.cookie patch to injection
mjhenkes Sep 1, 2022
308b53d
enable ci job
flotwig Aug 18, 2022
31391b6
fix up/add request events to webkit automation
flotwig Aug 18, 2022
a432bdd
update undefined message
flotwig Aug 18, 2022
1b5737a
doesn't need an underscore
flotwig Sep 1, 2022
0d19622
Adding iframe patching.
mjhenkes Sep 2, 2022
e985d24
forward errors prior to attaching
mjhenkes Sep 2, 2022
822aa81
Add error message when using visit to visit a cross origin site with …
mjhenkes Sep 6, 2022
b0a31aa
Attempt to fix test errors.
mjhenkes Sep 6, 2022
18af289
more fixes, but not all
mjhenkes Sep 6, 2022
f8ca723
use the origin policy
mjhenkes Sep 6, 2022
0453a4b
Fix types
mjhenkes Sep 6, 2022
bd16d86
more fixes
mjhenkes Sep 7, 2022
bbe5a5f
consider chromeWebSecurity when checking if you can communicate with …
mjhenkes Sep 7, 2022
55e9aa3
firefox
mjhenkes Sep 7, 2022
b221942
Merge branch 'develop' into matth/cy-origin-async-attach
mjhenkes Sep 7, 2022
6f12700
prevent hangs if before unload happens after on load.
mjhenkes Sep 7, 2022
61435ba
Fix some ToDos
mjhenkes Sep 7, 2022
49b7f87
code cleanup
mjhenkes Sep 7, 2022
45479f6
remove quotes
mjhenkes Sep 8, 2022
4a0bd08
Merge branch 'develop' into matth/cy-origin-async-attach
mjhenkes Sep 8, 2022
9319e2b
Code review changes
mjhenkes Sep 8, 2022
bf01ddd
more cr changes
mjhenkes Sep 8, 2022
3ceef39
Merge branch 'develop' into webkit-multidomain
mschile Sep 8, 2022
f33b059
fix tests possibly
mjhenkes Sep 8, 2022
1184ced
Updating cy.origin websocket for webkit connection error
mschile Sep 8, 2022
60ea312
for realz this time
mjhenkes Sep 8, 2022
3a4c626
temp fix for before:unload/load issue
mschile Sep 8, 2022
6f24105
roll back change
mjhenkes Sep 8, 2022
c061c36
Merge branch 'develop' into matth/cy-origin-async-attach
mjhenkes Sep 8, 2022
accee35
Fix some flake
mjhenkes Sep 8, 2022
c65bb98
Merge branch 'matth/cy-origin-async-attach' into webkit-multidomain
mschile Sep 8, 2022
0e12b7c
temporarily comment out autWindow.Error patch
mschile Sep 9, 2022
d529605
updating cookies to match develop
mschile Sep 9, 2022
9708b6a
update circle.yml
mschile Sep 9, 2022
2cf865a
commenting out driver-integration-tests-webkit-experimentalSessionAnd…
mschile Sep 9, 2022
5ec433e
Merge branch 'develop' into webkit-multidomain
mjhenkes Sep 19, 2022
55f07ec
revert cookie test change
mjhenkes Sep 19, 2022
efa7746
revert cross origin change
mjhenkes Sep 19, 2022
4225f21
Fix clear cookie problem
mjhenkes Sep 26, 2022
a6689ea
Merge branch 'develop' into webkit-multidomain
mjhenkes Sep 26, 2022
f1b4451
Try it again
mjhenkes Sep 28, 2022
faa58dc
test cy.origin in webkit
mjhenkes Sep 28, 2022
450a77e
Skip origin tests when running in webkit
mjhenkes Oct 6, 2022
1d94e23
Merge branch 'develop' into webkit-multidomain
mjhenkes Oct 6, 2022
492e162
missed one
mjhenkes Oct 6, 2022
95f127b
attempt to revert web_security changes
mjhenkes Oct 6, 2022
54a1d03
enable sessions on webkit
mjhenkes Oct 6, 2022
cfc918c
maybe this fixes system tests??
mjhenkes Oct 6, 2022
46bea43
Update web_security_spec.js
mjhenkes Oct 7, 2022
2eea718
Update web_security_spec.js
mjhenkes Oct 7, 2022
5c3b8be
Merge branch 'develop' into webkit-multidomain
mjhenkes Oct 7, 2022
d926025
file cleanup
mjhenkes Oct 7, 2022
d3085db
Unify socket creation logic
mjhenkes Oct 11, 2022
481f87c
Merge branch 'develop' into webkit-multidomain
mjhenkes Oct 11, 2022
c9fd23f
Address PR Comments
mjhenkes Oct 12, 2022
9547bf0
Merge branch 'develop' into webkit-multidomain
mjhenkes Oct 12, 2022
bcf97be
Merge branch 'develop' into webkit-multidomain
mjhenkes Oct 12, 2022
175647e
Merge branch 'develop' into webkit-multidomain
mjhenkes Oct 12, 2022
c9c8196
Merge branch 'develop' into webkit-multidomain
mjhenkes Oct 12, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 6 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ linuxArm64WorkflowFilters: &linux-arm64-workflow-filters
when:
or:
- equal: [ develop, << pipeline.git.branch >> ]
- equal: [ 'webkit-multidomain', << pipeline.git.branch >> ]
- equal: [ 'issue-23843_electron_21_upgrade', << pipeline.git.branch >> ]
- matches:
pattern: "-release$"
Expand Down Expand Up @@ -1856,7 +1857,7 @@ jobs:
name: Build
command: yarn workspace @cypress/mount-utils build
- store-npm-logs

npm-xpath:
<<: *defaults
resource_class: small
Expand Down Expand Up @@ -2437,11 +2438,10 @@ linux-x64-workflow: &linux-x64-workflow
context: test-runner:cypress-record-key
requires:
- build
# TODO: Implement WebKit network automation to fix the majority of these tests before re-enabling
# - driver-integration-tests-webkit-experimentalSessionAndOrigin:
# context: test-runner:cypress-record-key
# requires:
# - build
- driver-integration-tests-webkit-experimentalSessionAndOrigin:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

context: test-runner:cypress-record-key
requires:
- build
- run-frontend-shared-component-tests-chrome:
context: [test-runner:cypress-record-key, test-runner:launchpad-tests, test-runner:percy]
percy: true
Expand Down
8 changes: 2 additions & 6 deletions packages/app/src/runner/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import { getRunnerElement, empty } from './utils'
import { IframeModel } from './iframe-model'
import { AutIframe } from './aut-iframe'
import { EventManager } from './event-manager'
import { client } from '@packages/socket/lib/browser'
import { createWebsocket as createWebsocketIo } from '@packages/socket/lib/browser'
import { decodeBase64Unicode } from '@packages/frontend-shared/src/utils/base64'
import type { AutomationElementId } from '@packages/types/src'
import { useSnapshotStore } from './snapshot-store'
Expand All @@ -31,11 +31,7 @@ import { useStudioStore } from '../store/studio-store'
let _eventManager: EventManager | undefined

export function createWebsocket (config: Cypress.Config) {
const ws = client({
path: config.socketIoRoute,
// TODO(webkit): the websocket socket.io transport is busted in WebKit, need polling
transports: config.browser.family === 'webkit' ? ['polling'] : ['websocket'],
})
const ws = createWebsocketIo({ path: config.socketIoRoute, browserFamily: config.browser.family })

ws.on('connect', () => {
ws.emit('runner:connected')
Expand Down
19 changes: 19 additions & 0 deletions packages/driver/cypress/e2e/commands/cookies.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,25 @@ const { assertLogLength } = require('../../support/utils')
const { stripIndent } = require('common-tags')
const { Promise } = Cypress

describe('src/cy/commands/cookies - no stub', () => {
it('clears all cookies', () => {
cy.setCookie('foo', 'bar')
cy.getCookies().should('have.length', 1)
cy.clearCookies()
cy.getCookies().should('have.length', 0)
})

it('clears a single cookie', () => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the behavior when you clear a specific cookie and it does not exist?

cy.setCookie('foo', 'bar')
cy.setCookie('key', 'val')
cy.getCookies().should('have.length', 2)
cy.clearCookie('foo')
cy.getCookies().should('have.length', 1).then((cookies) => {
expect(cookies[0].name).to.eq('key')
})
})
})

describe('src/cy/commands/cookies', () => {
beforeEach(() => {
// call through normally on everything
Expand Down
138 changes: 52 additions & 86 deletions packages/driver/cypress/e2e/commands/sessions/sessions.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,27 @@ const clearAllSavedSessions = () => {
})
}

// In webkit, the clear page and clear cookies, etc log messages may be reversed. This isn't an issue, but we just want to test we have both messages.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we know why this is the case? The clear page should be awaited before clearing cookies.

https://github.com/cypress-io/cypress/blob/develop/packages/driver/src/cy/commands/sessions/index.ts#L360

          await navigateAboutBlank()
          await sessions.clearCurrentSessionData()

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My assumption is that it is a timing issue with the logs and that we don't await every action in navigateAboutBlank()

const validateClearLogs = (logs, sessionGroupId) => {
let clearPageLogIndex = 0
let clearCookiesIndex = 1

if (logs[1].get('name') === 'Clear page') {
clearPageLogIndex = 1
clearCookiesIndex = 0
}

expect(logs[clearPageLogIndex].get()).to.contain({
name: 'Clear page',
group: sessionGroupId,
})

expect(logs[clearCookiesIndex].get()).to.contain({
displayName: 'Clear cookies, localStorage and sessionStorage',
group: sessionGroupId,
})
}

describe('cy.session', { retries: 0 }, () => {
describe('args', () => {
it('accepts string as id', () => {
Expand Down Expand Up @@ -200,15 +221,7 @@ describe('cy.session', { retries: 0 }, () => {
},
})

expect(logs[1].get()).to.contain({
name: 'Clear page',
group: sessionGroupId,
})

expect(logs[2].get()).to.contain({
displayName: 'Clear cookies, localStorage and sessionStorage',
group: sessionGroupId,
})
validateClearLogs([logs[1], logs[2]], sessionGroupId)

const createNewSessionGroup = logs[3].get()

Expand Down Expand Up @@ -282,15 +295,7 @@ describe('cy.session', { retries: 0 }, () => {
},
})

expect(logs[1].get()).to.contain({
name: 'Clear page',
group: sessionGroupId,
})

expect(logs[2].get()).to.contain({
displayName: 'Clear cookies, localStorage and sessionStorage',
group: sessionGroupId,
})
validateClearLogs([logs[1], logs[2]], sessionGroupId)

const createNewSessionGroup = logs[3].get()

Expand Down Expand Up @@ -344,15 +349,7 @@ describe('cy.session', { retries: 0 }, () => {
},
})

expect(logs[1].get()).to.contain({
name: 'Clear page',
group: sessionGroupId,
})

expect(logs[2].get()).to.contain({
displayName: 'Clear cookies, localStorage and sessionStorage',
group: sessionGroupId,
})
validateClearLogs([logs[1], logs[2]], sessionGroupId)

const createNewSessionGroup = logs[3].get()

Expand Down Expand Up @@ -437,15 +434,7 @@ describe('cy.session', { retries: 0 }, () => {
},
})

expect(logs[1].get()).to.contain({
name: 'Clear page',
group: sessionGroupId,
})

expect(logs[2].get()).to.contain({
displayName: 'Clear cookies, localStorage and sessionStorage',
group: sessionGroupId,
})
validateClearLogs([logs[1], logs[2]], sessionGroupId)

const restoreSavedSessionGroup = logs[3].get()

Expand Down Expand Up @@ -500,15 +489,7 @@ describe('cy.session', { retries: 0 }, () => {
},
})

expect(logs[1].get()).to.contain({
name: 'Clear page',
group: sessionGroupId,
})

expect(logs[2].get()).to.contain({
displayName: 'Clear cookies, localStorage and sessionStorage',
group: sessionGroupId,
})
validateClearLogs([logs[1], logs[2]], sessionGroupId)

const restoreSavedSessionGroup = logs[3].get()

Expand Down Expand Up @@ -582,15 +563,7 @@ describe('cy.session', { retries: 0 }, () => {
},
})

expect(logs[1].get()).to.contain({
name: 'Clear page',
group: sessionGroupId,
})

expect(logs[2].get()).to.contain({
displayName: 'Clear cookies, localStorage and sessionStorage',
group: sessionGroupId,
})
validateClearLogs([logs[1], logs[2]], sessionGroupId)

const restoreSavedSessionGroup = logs[3].get()

Expand Down Expand Up @@ -618,15 +591,7 @@ describe('cy.session', { retries: 0 }, () => {

expect(logs[6].get('error').message).to.eq('Your `cy.session` **validate** callback returned false.')

expect(logs[7].get()).to.contain({
name: 'Clear page',
group: sessionGroupId,
})

expect(logs[8].get()).to.contain({
displayName: 'Clear cookies, localStorage and sessionStorage',
group: sessionGroupId,
})
validateClearLogs([logs[7], logs[8]], sessionGroupId)

const createNewSessionGroup = logs[9].get()

Expand Down Expand Up @@ -692,15 +657,7 @@ describe('cy.session', { retries: 0 }, () => {
},
})

expect(logs[1].get()).to.contain({
name: 'Clear page',
group: sessionGroupId,
})

expect(logs[2].get()).to.contain({
displayName: 'Clear cookies, localStorage and sessionStorage',
group: sessionGroupId,
})
validateClearLogs([logs[1], logs[2]], sessionGroupId)

const restoreSavedSessionGroup = logs[3].get()

Expand Down Expand Up @@ -728,15 +685,7 @@ describe('cy.session', { retries: 0 }, () => {

expect(logs[6].get('error').message).to.eq('Your `cy.session` **validate** callback returned false.')

expect(logs[7].get()).to.contain({
name: 'Clear page',
group: sessionGroupId,
})

expect(logs[8].get()).to.contain({
displayName: 'Clear cookies, localStorage and sessionStorage',
group: sessionGroupId,
})
validateClearLogs([logs[7], logs[8]], sessionGroupId)

const createNewSessionGroup = logs[9].get()

Expand Down Expand Up @@ -1046,7 +995,10 @@ describe('cy.session', { retries: 0 }, () => {
cy.once('fail', (err) => {
expect(err.message).contain('Expected to find element: `#does_not_exist`')
expect(err.message).contain(errorHookMessage)
expect(err.codeFrame).exist
// TODO: Webkit does not have correct stack traces on errors currently
if (Cypress.isBrowser('!webkit')) {
expect(err.codeFrame).exist
}

done()
})
Expand All @@ -1064,7 +1016,11 @@ describe('cy.session', { retries: 0 }, () => {
cy.once('fail', (err) => {
expect(err.message).contain('validate error')
expect(err.message).contain(errorHookMessage)
expect(err.codeFrame).exist
// TODO: Webkit does not have correct stack traces on errors currently
if (Cypress.isBrowser('!webkit')) {
expect(err.codeFrame).exist
}

done()
})

Expand All @@ -1081,7 +1037,10 @@ describe('cy.session', { retries: 0 }, () => {
cy.once('fail', (err) => {
expect(err.message).contain('validate error')
expect(err.message).contain(errorHookMessage)
expect(err.codeFrame).exist
// TODO: Webkit does not have correct stack traces on errors currently
if (Cypress.isBrowser('!webkit')) {
expect(err.codeFrame).exist
}

done()
})
Expand All @@ -1099,7 +1058,10 @@ describe('cy.session', { retries: 0 }, () => {
cy.once('fail', (err) => {
expect(err.message).to.contain('Your `cy.session` **validate** callback returned false.')
expect(err.message).contain(errorHookMessage)
expect(err.codeFrame).exist
// TODO: Webkit does not have correct stack traces on errors currently
if (Cypress.isBrowser('!webkit')) {
expect(err.codeFrame).exist
}

done()
})
Expand All @@ -1117,7 +1079,11 @@ describe('cy.session', { retries: 0 }, () => {
cy.once('fail', (err) => {
expect(err.message).to.contain('Your `cy.session` **validate** callback resolved false.')
expect(err.message).contain(errorHookMessage)
expect(err.codeFrame).exist
// TODO: Webkit does not have correct stack traces on errors currently
if (Cypress.isBrowser('!webkit')) {
expect(err.codeFrame).exist
}

done()
})

Expand Down
4 changes: 2 additions & 2 deletions packages/driver/cypress/e2e/e2e/origin/basic_login.cy.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
describe('basic login', () => {
describe('basic login', { browser: '!webkit' }, () => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Skipping cy.origin tests for webkit

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a github issue to track on enabling all of these tests in webkit? I just want to make sure nothing gets lost in the shuffle

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, here is the issue for enabling cy.origin for webkit #23799

// Scenario, Token based auth. Visit site, redirect to IDP hosted on secondary origin, login and redirect back to site.
describe('visit primary first', () => {
it('logs in with idp redirect', () => {
Expand Down Expand Up @@ -148,7 +148,7 @@ describe('basic login', () => {
})
})

describe('Multi-step Auth', () => {
describe('Multi-step Auth', { browser: '!webkit' }, () => {
// TODO: cy.origin does not work in cy.origin yet.
it.skip('final auth redirects back to localhost - nested', () => {
cy.visit('/fixtures/auth/index.html')
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { findCrossOriginLogs } from '../../../../support/utils'

context('cy.origin actions', () => {
context('cy.origin actions', { browser: '!webkit' }, () => {
beforeEach(() => {
cy.visit('/fixtures/primary-origin.html')
})
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { findCrossOriginLogs } from '../../../../support/utils'

context('cy.origin aliasing', () => {
context('cy.origin aliasing', { browser: '!webkit' }, () => {
beforeEach(() => {
cy.visit('/fixtures/primary-origin.html')
})
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { findCrossOriginLogs } from '../../../../support/utils'

context('cy.origin assertions', () => {
context('cy.origin assertions', { browser: '!webkit' }, () => {
beforeEach(() => {
cy.visit('/fixtures/primary-origin.html')
cy.get('a[data-cy="dom-link"]').click()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { findCrossOriginLogs } from '../../../../support/utils'

context('cy.origin connectors', () => {
context('cy.origin connectors', { browser: '!webkit' }, () => {
beforeEach(() => {
cy.visit('/fixtures/primary-origin.html')
cy.get('a[data-cy="dom-link"]').click()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { findCrossOriginLogs, assertLogLength } from '../../../../support/utils'

describe('cy.origin cookies', () => {
describe('cy.origin cookies', { browser: '!webkit' }, () => {
context('client side', () => {
beforeEach(() => {
cy.visit('/fixtures/primary-origin.html')
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { findCrossOriginLogs } from '../../../../support/utils'

context('cy.origin files', () => {
context('cy.origin files', { browser: '!webkit' }, () => {
beforeEach(() => {
cy.visit('/fixtures/primary-origin.html')
cy.get('a[data-cy="cross-origin-secondary-link"]').click()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { findCrossOriginLogs } from '../../../../support/utils'

context('cy.origin local storage', () => {
context('cy.origin local storage', { browser: '!webkit' }, () => {
beforeEach(() => {
cy.visit('/fixtures/primary-origin.html')
cy.get('a[data-cy="cross-origin-secondary-link"]').click()
Expand Down