diff --git a/frontend/src/__tests__/cypress/cypress/pages/userManagement.ts b/frontend/src/__tests__/cypress/cypress/pages/userManagement.ts index aed2c8cef5..5213ac2932 100644 --- a/frontend/src/__tests__/cypress/cypress/pages/userManagement.ts +++ b/frontend/src/__tests__/cypress/cypress/pages/userManagement.ts @@ -16,7 +16,7 @@ class GroupSettingSection extends Contextual { } findMultiGroupOptions(name: string) { - return this.find().findByRole('option', { name }); + return this.find().document().findByRole('option', { name }); } private findChipGroup() {