reset cypress database

This commit is contained in:
Yisroel Baum 2026-06-01 22:12:03 +03:00
parent df747d9c69
commit 7fc8c37037
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9
2 changed files with 28 additions and 2 deletions

View file

@ -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 {}