reset cypress database
This commit is contained in:
parent
df747d9c69
commit
7fc8c37037
2 changed files with 28 additions and 2 deletions
|
|
@ -1,3 +1,7 @@
|
|||
// Loaded automatically before every spec file in cypress/e2e/.
|
||||
// Intentionally minimal - add shared commands here when needed.
|
||||
beforeEach(() => {
|
||||
cy.task('resetDatabase')
|
||||
cy.clearCookies()
|
||||
cy.clearLocalStorage()
|
||||
})
|
||||
|
||||
export {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue