diff options
Diffstat (limited to 'cypress/e2e/settings/personal-info.cy.ts')
-rw-r--r-- | cypress/e2e/settings/personal-info.cy.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cypress/e2e/settings/personal-info.cy.ts b/cypress/e2e/settings/personal-info.cy.ts index 30c0bce9421..940e3cd6449 100644 --- a/cypress/e2e/settings/personal-info.cy.ts +++ b/cypress/e2e/settings/personal-info.cy.ts @@ -118,7 +118,7 @@ describe('Settings: Change personal information', { testIsolation: true }, () => cy.login(user) cy.visit('/settings/user') - cy.backupDB().then(($snapshot) => { + cy.saveState().then(($snapshot) => { snapshot = $snapshot }) }) @@ -136,7 +136,7 @@ describe('Settings: Change personal information', { testIsolation: true }, () => }) afterEach(() => { - cy.restoreDB(snapshot) + cy.restoreState(snapshot) }) it('Can dis- and enable the profile', () => { |