chore: cleanup and remove hello world test case

This commit is contained in:
Christel Westerberg
2024-06-05 08:04:29 +02:00
parent e4992f1111
commit 512738428e
11 changed files with 101 additions and 47 deletions

View File

@@ -18,3 +18,13 @@ import "./commands"
// Alternatively you can use CommonJS syntax:
// require('./commands')
Cypress.on("uncaught:exception", (err) => {
// https://github.com/cypress-io/cypress/issues/27204
// Cypress and React Hydrating the document don't get along
// for some unknown reason. Hopefully, we figure out why eventually
// so we can remove this.
// Maybe React 19 (that has changes to hydration logic) might solve this.
if (/hydration|hydrating/i.test(err.message)) {
return false
}
})