diff --git a/tests/e2e/cucumber/features/integrations/spaces/publicLink.ocis.feature b/tests/e2e/cucumber/features/integrations/spaces/publicLink.ocis.feature index 47cda196ef0..534b7e9ea7b 100644 --- a/tests/e2e/cucumber/features/integrations/spaces/publicLink.ocis.feature +++ b/tests/e2e/cucumber/features/integrations/spaces/publicLink.ocis.feature @@ -6,6 +6,7 @@ Feature: spaces public link | Alice | | Brian | | Carol | + | marie | And "Admin" assigns following roles to the users | id | role | | Alice | SpaceAdmin | @@ -22,13 +23,18 @@ Feature: spaces public link | spaceFolder | folder | And "Alice" creates a public link for the resource "spaceFolder" using the sidebar panel And "Alice" adds following users to the project space - | user | role | - | Brian | editor | - | Carol | viewer | + | user | role | + | Brian | editor | + | Carol | viewer | + | marie | manager | When "Brian" logs in And "Brian" navigates to the projects space page And "Brian" navigates to the project space "team.1" Then public link named "spaceLink" should be visible to "Brian" But "Brian" 'should not' be able to edit the public link named "spaceLink" And "Brian" logs out - + When "Marie" logs in + And "Marie" navigates to the projects space page + And "Marie" navigates to the project space "team.1" + Then public link named "spaceLink" should be visible to "Marie" + And "Marie" 'should' be able to edit the public link named "spaceLink" diff --git a/tests/e2e/support/store/user.ts b/tests/e2e/support/store/user.ts index c448a2cf8a2..833199d027f 100644 --- a/tests/e2e/support/store/user.ts +++ b/tests/e2e/support/store/user.ts @@ -36,5 +36,14 @@ export const userStore = new Map([ password: '1234', email: 'carol@example.org' } + ], + [ + 'marie', + { + id: 'marie', + displayName: 'Marie Skłodowska Curie', + password: '1234', + email: 'marie@example.org' + } ] ])