Skip to content

Commit fa6e95c

Browse files
chore(deps): update dependency cypress to v13.15.2 (#901)
1 parent a2e24d1 commit fa6e95c

File tree

4 files changed

+64
-66
lines changed

4 files changed

+64
-66
lines changed

examples/server-communication__visit-2nd-domain/cypress/e2e/using-file-spec.cy.js

+2-14
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,11 @@
22
describe('Two domains using file', () => {
33
const filename = 'test-data.json'
44

5-
Cypress.on('uncaught:exception', (err) => {
6-
// cypress.io has a few React exceptions related to state hydration,
7-
// but these exceptions do not impact this test
8-
// This is also true with Cannot read properties of null (reading 'addEventListener') which has to due with the osano library
9-
// that is on www.cypress.io
10-
if (err.message.includes('Minified React error') || err.message.includes(`Cannot read properties of null (reading 'addEventListener')`)) {
11-
return false
12-
}
13-
14-
return true
15-
})
16-
175
it('visits 1st domain', () => {
18-
cy.visit('https://www.cypress.io/')
6+
cy.visit('https://example.cypress.io/')
197
// there are several GitHub links on the page, make sure
208
// to use the selector that returns a single item
21-
cy.get('[href="https://github.com/cypress-io/cypress"]').first()
9+
cy.get('[href="https://github.com/cypress-io/cypress-example-kitchensink"]').first()
2210
.invoke('attr', 'href')
2311
.then((url) => {
2412
expect(url).to.be.a('string')

examples/server-communication__visit-2nd-domain/cypress/e2e/using-task-spec.cy.js

+2-14
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,10 @@
11
/// <reference types="cypress" />
22
describe('Two domains', () => {
3-
Cypress.on('uncaught:exception', (err) => {
4-
// cypress.io has a few React exceptions related to state hydration,
5-
// but these exceptions do not impact this test
6-
// This is also true with Cannot read properties of null (reading 'addEventListener') which has to due with the osano library
7-
// that is on www.cypress.io
8-
if (err.message.includes('Minified React error') || err.message.includes(`Cannot read properties of null (reading 'addEventListener')`)) {
9-
return false
10-
}
11-
12-
return true
13-
})
14-
153
it('visits 1nd domain', () => {
16-
cy.visit('https://www.cypress.io/')
4+
cy.visit('https://example.cypress.io/')
175
// there are several GitHub links on the page, make sure
186
// to use the selector that returns a single item
19-
cy.get('[href="https://github.com/cypress-io/cypress"]').first()
7+
cy.get('[href="https://github.com/cypress-io/cypress-example-kitchensink"]').first()
208
.invoke('attr', 'href')
219
.then((url) => {
2210
// save the value in the `setupNodeEvents` process

package-lock.json

+59-37
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
"common-tags": "1.8.0",
109109
"console.table": "0.10.0",
110110
"cy-spok": "1.3.2",
111-
"cypress": "13.15.1",
111+
"cypress": "13.15.2",
112112
"cypress-axe": "0.12.2",
113113
"cypress-expect-n-assertions": "1.0.0",
114114
"cypress-failed-log": "2.9.5",

0 commit comments

Comments
 (0)