Skip to content

Commit

Permalink
Merge pull request #46385 from nextcloud/backport/46310/stable29
Browse files Browse the repository at this point in the history
[stable29] fix(cypress): wait for apps list fetch for better testing stability
  • Loading branch information
susnux authored Jul 10, 2024
2 parents 2757beb + 70113b8 commit 7fc4691
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions cypress/e2e/settings/apps.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,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', () => {
Expand Down

0 comments on commit 7fc4691

Please sign in to comment.