mirror of
https://github.com/nextcloud/server.git
synced 2026-06-06 15:23:17 -04:00
fix(cypress): wait for apps list fetch for better testing stability
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
This commit is contained in:
parent
7e663301ff
commit
cf92cf3203
1 changed files with 7 additions and 0 deletions
|
|
@ -17,8 +17,15 @@ describe('Settings: App management', { testIsolation: true }, () => {
|
|||
|
||||
// I am logged in as the admin
|
||||
cy.login(admin)
|
||||
|
||||
// Intercept the apps list request
|
||||
cy.intercept('GET', '*/settings/apps/list').as('fetchAppsList')
|
||||
|
||||
// I open the Apps management
|
||||
cy.visit('/settings/apps/installed')
|
||||
|
||||
// Wait for the apps list to load
|
||||
cy.wait('@fetchAppsList')
|
||||
})
|
||||
|
||||
it('Can enable an installed app', () => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue