aboutsummaryrefslogtreecommitdiffstats
path: root/cypress
diff options
context:
space:
mode:
authorskjnldsv <skjnldsv@protonmail.com>2024-11-13 09:42:26 +0100
committerskjnldsv <skjnldsv@protonmail.com>2024-11-14 10:25:02 +0100
commitb15fdfd40e4bf96b53f7afcf0e4dce359158cf1c (patch)
tree0c5cfe660bcdb04338661687b3733ae3cbc88ced /cypress
parentdfa7e7edea66c37a7b33965ad9e93648d44243b0 (diff)
downloadnextcloud-server-b15fdfd40e4bf96b53f7afcf0e4dce359158cf1c.tar.gz
nextcloud-server-b15fdfd40e4bf96b53f7afcf0e4dce359158cf1c.zip
chore(profile): move profile app from core to apps
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Diffstat (limited to 'cypress')
-rw-r--r--cypress/e2e/settings/personal-info.cy.ts11
1 files changed, 7 insertions, 4 deletions
diff --git a/cypress/e2e/settings/personal-info.cy.ts b/cypress/e2e/settings/personal-info.cy.ts
index 746717b5fb4..30c0bce9421 100644
--- a/cypress/e2e/settings/personal-info.cy.ts
+++ b/cypress/e2e/settings/personal-info.cy.ts
@@ -112,12 +112,15 @@ describe('Settings: Change personal information', { testIsolation: true }, () =>
user = $user
cy.modifyUser(user, 'language', 'en')
cy.modifyUser(user, 'locale', 'en_US')
- })
- cy.wait(500)
+ // Make sure the user is logged in at least once
+ // before the snapshot is taken to speed up the tests
+ cy.login(user)
+ cy.visit('/settings/user')
- cy.backupDB().then(($snapshot) => {
- snapshot = $snapshot
+ cy.backupDB().then(($snapshot) => {
+ snapshot = $snapshot
+ })
})
})