From 10f2252b49aa7c781a8da7b6a993f0a2a8cd984e Mon Sep 17 00:00:00 2001 From: Elizabeth Danzberger Date: Mon, 26 Jan 2026 13:46:59 -0500 Subject: [PATCH] fix(test): remove group limitation when done Signed-off-by: Elizabeth Danzberger --- apps/settings/lib/Controller/AppSettingsController.php | 1 + cypress/e2e/settings/apps.cy.ts | 2 ++ 2 files changed, 3 insertions(+) diff --git a/apps/settings/lib/Controller/AppSettingsController.php b/apps/settings/lib/Controller/AppSettingsController.php index bf54eed32a6..3a6bd9d9284 100644 --- a/apps/settings/lib/Controller/AppSettingsController.php +++ b/apps/settings/lib/Controller/AppSettingsController.php @@ -37,6 +37,7 @@ use OCP\Files\SimpleFS\ISimpleFolder; use OCP\Http\Client\IClientService; use OCP\IConfig; use OCP\IGroup; +use OCP\IGroupManager; use OCP\IL10N; use OCP\INavigationManager; use OCP\IRequest; diff --git a/cypress/e2e/settings/apps.cy.ts b/cypress/e2e/settings/apps.cy.ts index 6055cbf6ba1..690d7725eb7 100644 --- a/cypress/e2e/settings/apps.cy.ts +++ b/cypress/e2e/settings/apps.cy.ts @@ -166,6 +166,8 @@ describe('Settings: App management', { testIsolation: true }, () => { cy.get('span.name-parts__first') .contains('admin') .should('be.visible') + // Then I disable the group limitation + cy.get('button[title="Deselect admin"]').click() }) /*