Skip to content

Commit

Permalink
updating server spec
Browse files Browse the repository at this point in the history
  • Loading branch information
mschile committed Apr 21, 2022
1 parent b43b179 commit 2fe3dea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/server/test/integration/server_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -1022,7 +1022,7 @@ describe('Server', () => {
// this will be the current origin
this.server.remoteStates.set('http://localhost:3500/')

return this.server._onResolveUrl('http://localhost:3500/', {}, this.automationRequest, { alreadyVisitedUrl: true })
return this.server._onResolveUrl('http://localhost:3500/', {}, this.automationRequest, { hasAlreadyVisitedUrl: true })
.then((obj = {}) => {
// Verify the cross origin request was buffered
const buffer = this.buffers.take('http://localhost:3500/')
Expand Down Expand Up @@ -1057,7 +1057,7 @@ describe('Server', () => {
// this will be the current origin
this.server.socket.localBus.emit('cross:origin:bridge:ready', { originPolicy: 'http://cypress.io' })

return this.server._onResolveUrl('http://localhost:3500/', {}, this.automationRequest, { alreadyVisitedUrl: true })
return this.server._onResolveUrl('http://localhost:3500/', {}, this.automationRequest, { hasAlreadyVisitedUrl: true })
.then(() => {
// Verify the remote state was not updated
expect(this.server.remoteStates.current()).to.deep.eq({
Expand Down

0 comments on commit 2fe3dea

Please sign in to comment.