Merge pull request #46310 from nextcloud/fix/cypress-wait-apps

This commit is contained in:
John Molakvoæ 2024-07-09 22:34:14 +02:00 committed by GitHub
commit 99feafad71
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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', () => {