There was an error while loading. Please reload this page.
2 parents b3b789e + ed5312b commit 181cff5Copy full SHA for 181cff5
1 file changed
cypress/e2e/settings/apps.cy.ts
@@ -9,6 +9,15 @@ import { handlePasswordConfirmation } from './usersUtils.ts'
9
const admin = new User('admin', 'admin')
10
11
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
+
21
beforeEach(() => {
22
// disable QA if already enabled
23
cy.runOccCommand('app:disable -n testing')
0 commit comments