Skip to content

Commit 89086a3

Browse files
Update cypress framework for end-to-end testing to 15.8
1 parent 7a4f5c9 commit 89086a3

3 files changed

Lines changed: 491 additions & 568 deletions

File tree

end-to-end-testing-with-cypress/cypress/support/register.cmd.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//this is currently needed to address react-bootstrap component markup
33
//ideally we would use data-testid everywhere, but some of the bootstrap components
44
//do not want to pass that 'data-' attribute through with the 'data-' part still appended
5-
Cypress.SelectorPlayground.defaults({
5+
Cypress.ElementSelector.defaults({
66
onElement: ($el) => {
77

88
//workaround for react select input selector
@@ -39,4 +39,4 @@ Cypress.SelectorPlayground.defaults({
3939
}
4040
return $el;
4141
},
42-
})
42+
})

end-to-end-testing-with-cypress/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"headless": "cypress run -- --record --spec cypress/support/e2e.js"
88
},
99
"devDependencies": {
10-
"cypress": "^13.6.2",
11-
"eslint": "^7.23.0"
10+
"cypress": "^15.8.2",
11+
"eslint": "^9.39.2"
1212
}
13-
}
13+
}

0 commit comments

Comments
 (0)