cypress - retain "builder:token" cookie between tests
This commit is contained in:
parent
fab5832425
commit
733dd9753c
|
@ -0,0 +1,3 @@
|
||||||
|
Cypress.Cookies.defaults({
|
||||||
|
whitelist: "builder:token",
|
||||||
|
})
|
|
@ -14,6 +14,7 @@
|
||||||
// ***********************************************************
|
// ***********************************************************
|
||||||
|
|
||||||
// Import commands.js using ES2015 syntax:
|
// Import commands.js using ES2015 syntax:
|
||||||
|
import "./cookies"
|
||||||
import "./commands"
|
import "./commands"
|
||||||
|
|
||||||
// Alternatively you can use CommonJS syntax:
|
// Alternatively you can use CommonJS syntax:
|
||||||
|
|
Loading…
Reference in New Issue