Skip to content

Commit

Permalink
rename snapshot files to fit origin paradigm and fix misname on prima…
Browse files Browse the repository at this point in the history
…ryDomainCommunicator
  • Loading branch information
AtofStryker committed Apr 7, 2022
1 parent 3916b5c commit a597d05
Show file tree
Hide file tree
Showing 20 changed files with 49 additions and 49 deletions.
@@ -1,7 +1,7 @@
import _ from 'lodash'
import { findCrossOriginLogs } from '../../../../support/utils'

describe('multi-domain snapshot actions', () => {
describe('cross-origin snapshot actions', () => {
let logs: Map<string, any>

beforeEach(() => {
Expand Down Expand Up @@ -35,7 +35,7 @@ describe('multi-domain snapshot actions', () => {
})

cy.get('a[data-cy="dom-link"]').click()
cy.origin('http://foobar.com:3250', () => {
cy.origin('http://foobar.com:3500', () => {
cy.get('#button')
})
})
Expand Down Expand Up @@ -63,7 +63,7 @@ describe('multi-domain snapshot actions', () => {
})

cy.get('a[data-cy="dom-link"]').click()
cy.origin('http://foobar.com:3250', () => {
cy.origin('http://foobar.com:3500', () => {
cy.get('#button').as('buttonAlias')
})
})
Expand Down Expand Up @@ -115,7 +115,7 @@ describe('multi-domain snapshot actions', () => {
})

cy.get('a[data-cy="dom-link"]').click()
cy.origin('http://foobar.com:3250', () => {
cy.origin('http://foobar.com:3500', () => {
cy.get('#button-inside-a').click()
})
})
Expand Down Expand Up @@ -162,7 +162,7 @@ describe('multi-domain snapshot actions', () => {
})

cy.get('a[data-cy="dom-link"]').click()
cy.origin('http://foobar.com:3250', () => {
cy.origin('http://foobar.com:3500', () => {
cy.get('#button').dblclick()
})
})
Expand Down Expand Up @@ -209,7 +209,7 @@ describe('multi-domain snapshot actions', () => {
})

cy.get('a[data-cy="dom-link"]').click()
cy.origin('http://foobar.com:3250', () => {
cy.origin('http://foobar.com:3500', () => {
cy.get('#button').rightclick()
})
})
Expand Down Expand Up @@ -279,7 +279,7 @@ describe('multi-domain snapshot actions', () => {
})

cy.get('a[data-cy="dom-link"]').click()
cy.origin('http://foobar.com:3250', () => {
cy.origin('http://foobar.com:3500', () => {
cy.get('input#input').type('foo')
})
})
Expand Down Expand Up @@ -310,7 +310,7 @@ describe('multi-domain snapshot actions', () => {
})

cy.get('a[data-cy="dom-link"]').click()
cy.origin('http://foobar.com:3250', () => {
cy.origin('http://foobar.com:3500', () => {
cy.get('form#multiple-inputs-and-input-submit input[name="fname"]').type('foo')
cy.get('form#multiple-inputs-and-input-submit input[name="lname"]').type('bar')
cy.get('form#multiple-inputs-and-input-submit').submit()
Expand All @@ -333,7 +333,7 @@ describe('multi-domain snapshot actions', () => {
})

cy.get('a[data-cy="dom-link"]').click()
cy.origin('http://foobar.com:3250', () => {
cy.origin('http://foobar.com:3500', () => {
// FIXME: snapshot shows the primary domain. Should be secondary
cy.get('#input').focus()
})
Expand All @@ -355,7 +355,7 @@ describe('multi-domain snapshot actions', () => {
})

cy.get('a[data-cy="dom-link"]').click()
cy.origin('http://foobar.com:3250', () => {
cy.origin('http://foobar.com:3500', () => {
// FIXME: snapshot shows the primary domain (before type). Should be secondary
cy.get('#input').type('foo').blur()
})
Expand All @@ -379,7 +379,7 @@ describe('multi-domain snapshot actions', () => {
})

cy.get('a[data-cy="dom-link"]').click()
cy.origin('http://foobar.com:3250', () => {
cy.origin('http://foobar.com:3500', () => {
// FIXME: snapshot shows the primary domain. Should be secondary
cy.get('#input').type('foo').clear()
})
Expand Down
@@ -1,7 +1,7 @@
import { findCrossOriginLogs } from '../../../../support/utils'

// @ts-ignore / session support is needed for visiting about:blank between tests
context('multi-domain snapshot aliasing', { experimentalSessionSupport: true }, () => {
context('cross-origin snapshot aliasing', { experimentalSessionSupport: true }, () => {
let logs: Map<string, any>

beforeEach(() => {
Expand Down Expand Up @@ -37,7 +37,7 @@ context('multi-domain snapshot aliasing', { experimentalSessionSupport: true },
}, 250)
})

cy.origin('http://foobar.com:3250', () => {
cy.origin('http://foobar.com:3500', () => {
cy.get('#button').as('buttonAlias')
})
})
Expand Down
@@ -1,7 +1,7 @@
import { findCrossOriginLogs } from '../../../../support/utils'

// @ts-ignore / session support is needed for visiting about:blank between tests
context('multi-domain snapshot assertions', { experimentalSessionSupport: true }, () => {
context('cross-origin snapshot assertions', { experimentalSessionSupport: true }, () => {
let logs: Map<string, any>

beforeEach(() => {
Expand Down
@@ -1,7 +1,7 @@
import { findCrossOriginLogs } from '../../../../support/utils'

// @ts-ignore / session support is needed for visiting about:blank between tests
context('multi-domain snapshot connectors', { experimentalSessionSupport: true }, () => {
context('cross-origin snapshot connectors', { experimentalSessionSupport: true }, () => {
let logs: Map<string, any>

beforeEach(() => {
Expand Down
Expand Up @@ -2,7 +2,7 @@ import _ from 'lodash'
import { findCrossOriginLogs } from '../../../../support/utils'

// @ts-ignore / session support is needed for visiting about:blank between tests
context('multi-domain snapshot cookies', { experimentalSessionSupport: true }, () => {
context('cross-origin snapshot cookies', { experimentalSessionSupport: true }, () => {
let logs: Map<string, any>

beforeEach(() => {
Expand Down
@@ -1,7 +1,7 @@
import { findCrossOriginLogs } from '../../../../support/utils'

// @ts-ignore / session support is needed for visiting about:blank between tests
context('multi-domain snapshot files', { experimentalSessionSupport: true }, () => {
context('cross-origin snapshot files', { experimentalSessionSupport: true }, () => {
let logs: Map<string, any>

beforeEach(() => {
Expand Down
@@ -1,7 +1,7 @@
import { findCrossOriginLogs } from '../../../../support/utils'

// @ts-ignore / session support is needed for visiting about:blank between tests
context('multi-domain snapshot local storage', { experimentalSessionSupport: true }, () => {
context('cross-origin snapshot local storage', { experimentalSessionSupport: true }, () => {
let logs: Map<string, any>

beforeEach(() => {
Expand Down
@@ -1,7 +1,7 @@
import { findCrossOriginLogs } from '../../../../support/utils'

// @ts-ignore / session support is needed for visiting about:blank between tests
context('multi-domain snapshot location', { experimentalSessionSupport: true }, () => {
context('cross-origin snapshot location', { experimentalSessionSupport: true }, () => {
let logs: Map<string, any>

beforeEach(() => {
Expand Down
@@ -1,7 +1,7 @@
import { findCrossOriginLogs } from '../../../../support/utils'

// @ts-ignore / session support is needed for visiting about:blank between tests
context('multi-domain snapshot misc', { experimentalSessionSupport: true }, () => {
context('cross-origin snapshot misc', { experimentalSessionSupport: true }, () => {
let logs: Map<string, any>

beforeEach(() => {
Expand Down
@@ -1,7 +1,7 @@
import { findCrossOriginLogs } from '../../../../support/utils'

// @ts-ignore
context('multi-domain navigation', { experimentalSessionSupport: true }, () => {
context('multi-origin snapshot navigation', { experimentalSessionSupport: true }, () => {
let logs: Map<string, any>

beforeEach(() => {
Expand Down
@@ -1,7 +1,7 @@
import { findCrossOriginLogs } from '../../../../support/utils'

// @ts-ignore / session support is needed for visiting about:blank between tests
context('multi-domain snapshot network requests', { experimentalSessionSupport: true }, () => {
context('cross-origin snapshot network requests', { experimentalSessionSupport: true }, () => {
let logs: Map<string, any>

beforeEach(() => {
Expand Down
@@ -1,7 +1,7 @@
import { findCrossOriginLogs } from '../../../../support/utils'

// @ts-ignore / session support is needed for visiting about:blank between tests
context('multi-domain snapshot querying', { experimentalSessionSupport: true }, () => {
context('cross-origin snapshot querying', { experimentalSessionSupport: true }, () => {
let logs: Map<string, any>

beforeEach(() => {
Expand Down
@@ -1,7 +1,7 @@
import { findCrossOriginLogs } from '../../../../support/utils'

// @ts-ignore / session support is needed for visiting about:blank between tests
context('multi-domain snapshot shadow dom', { experimentalSessionSupport: true }, () => {
context('cross-origin snapshot shadow dom', { experimentalSessionSupport: true }, () => {
let logs: Map<string, any>

beforeEach(() => {
Expand Down
@@ -1,7 +1,7 @@
import { findCrossOriginLogs } from '../../../../support/utils'

// @ts-ignore / session support is needed for visiting about:blank between tests
context('multi-domain snapshot screenshot', { experimentalSessionSupport: true }, () => {
context('cross-origin snapshot screenshot', { experimentalSessionSupport: true }, () => {
let logs: Map<string, any>

beforeEach(() => {
Expand Down
@@ -1,7 +1,7 @@
import { findCrossOriginLogs } from '../../../../support/utils'

// @ts-ignore / session support is needed for visiting about:blank between tests
context('multi-domain snapshot spies, stubs, and clock', { experimentalSessionSupport: true }, () => {
context('cross-origin snapshot spies, stubs, and clock', { experimentalSessionSupport: true }, () => {
let logs: Map<string, any>

beforeEach(() => {
Expand Down

0 comments on commit a597d05

Please sign in to comment.