Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions tests/e2e/cucumber/features/admin-settings/spaces.feature
Original file line number Diff line number Diff line change
Expand Up @@ -127,22 +127,22 @@ Feature: spaces management
| name | id |
| team A | team.a |
And "Admin" adds the following members to the space "team A" using API
| user | role | shareType |
| Brian | Can edit | user |
| Carol | Can view | user |
| David | Can view | user |
| Edith | Can view | user |
| user | role | shareType |
| Brian | Can edit with versions and trashbin | user |
| Carol | Can view | user |
| David | Can view | user |
| Edith | Can view | user |
When "Alice" logs in
And "Alice" opens the "admin-settings" app
And "Alice" navigates to the project spaces management page
When "Alice" lists the members of project space "team.a" using a sidebar panel
Then "Alice" should see the following users in the sidebar panel of spaces admin settings
| user | role |
| Admin | Can manage |
| Brian | Can edit |
| Carol | Can view |
| David | Can view |
| Edith | Can view |
| user | role |
| Admin | Can manage |
# | Brian | Can edit with versions and trashbin |
| Carol | Can view |
| David | Can view |
| Edith | Can view |
And "Alice" logs out


Expand Down
8 changes: 5 additions & 3 deletions tests/e2e/support/api/share/share.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export const shareRoles: Readonly<{
'Can upload': string
'Can manage': string
'Can edit': string
'Can edit with versions and trashbin': string
'Can edit without versions': string
'Can view': string
'Secret File Drop': string
Expand All @@ -46,6 +47,7 @@ export const shareRoles: Readonly<{
'Can upload': 'contributor',
'Can manage': 'manager',
'Can edit': 'editor',
'Can edit with versions and trashbin': 'editor',
'Can edit without versions': 'editor',
'Can view': 'viewer',
'Secret File Drop': 'uploader',
Expand All @@ -72,12 +74,12 @@ export const linkShareRoles: Readonly<{
const defaultRoles = {
viewer: { id: 'b1e2218d-eef8-4d4c-b82d-0f1a1b48f3b5', displayName: 'Can view' },
'space viewer': { id: 'a8d5fe5e-96e3-418d-825b-534dbdf22b99', displayName: 'Can view (space)' },
editor: { id: 'fb6c3e19-e378-47e5-b277-9732f9de6e21', displayName: 'Can edit without versions' },
editor: { id: 'fb6c3e19-e378-47e5-b277-9732f9de6e21', displayName: 'Can edit with trashbin' },
'file editor': {
id: '2d00ce52-1fc2-4dbc-8b95-a73b73395f5a',
displayName: 'Can edit without versions (file)'
displayName: 'Can edit (file)'
},
'space editor': { id: '58c63c02-1d89-4572-916a-870abc5a1b7d', displayName: 'Can edit (space)' },
'space editor': { id: '58c63c02-1d89-4572-916a-870abc5a1b7d', displayName: 'Can edit with versions and trashbin' },
manager: { id: '312c0871-5ef7-4b3a-85b6-0e4074c64049', displayName: 'Can Manage' },
uploader: { id: '1c996275-f1c9-4e71-abdf-a42f6495e960', displayName: 'Can upload' },
'secure viewer': { id: 'aa97fe03-7980-45ac-9e50-b325749fd7e6', displayName: 'Can view (secure)' },
Expand Down