Skip to content

Commit 181cff5

Browse files
authored
Merge pull request #60327 from nextcloud/fix/cypress-a11y-color-contrast-default-app
[stable33] test(cypress): restore dashboard after app-limit test
2 parents b3b789e + ed5312b commit 181cff5

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

‎cypress/e2e/settings/apps.cy.ts‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@ import { handlePasswordConfirmation } from './usersUtils.ts'
99
const admin = new User('admin', 'admin')
1010

1111
describe('Settings: App management', { testIsolation: true }, () => {
12+
after(() => {
13+
// 'Limit app usage to group' deselects the admin group without untoggling
14+
// the group-limit switch, leaving Dashboard with an empty allow-list and
15+
// hiding it from non-admin users. Re-enabling rewrites the app's `enabled`
16+
// flag back to `yes`, which restores the `/` redirect to dashboard for
17+
// subsequent specs.
18+
cy.runOccCommand('app:enable dashboard')
19+
})
20+
1221
beforeEach(() => {
1322
// disable QA if already enabled
1423
cy.runOccCommand('app:disable -n testing')

0 commit comments

Comments
 (0)