Skip to content

Commit

Permalink
Update packages/driver/cypress/e2e/e2e/origin/cookie_misc.cy.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Bill Glesias <[email protected]>
  • Loading branch information
cacieprins and AtofStryker authored Dec 20, 2024
1 parent bed8fb3 commit a0a151a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/driver/cypress/e2e/e2e/origin/cookie_misc.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ describe('misc cookie tests', { browser: '!webkit' }, () => {

cy.wait('@cookiedRequest').then(({ request }) => {
// in Cypress <= 13, this should be (which is wrong)
// expect(req['headers']['cookie']).to.equal('foo1=bar1')
// expect(req['headers']['cookie']).to.equal('foo1=bar1')

// in Cypress 14, this should be (which is correct)
expect(request.headers.cookie).to.equal(cookie)
Expand Down

0 comments on commit a0a151a

Please sign in to comment.