Skip to content

Commit

Permalink
Enable e2e tests for space-shortcut-action
Browse files Browse the repository at this point in the history
  • Loading branch information
JammingBen committed Apr 12, 2023
1 parent b876991 commit 4a1da15
Showing 1 changed file with 56 additions and 57 deletions.
Original file line number Diff line number Diff line change
@@ -1,58 +1,57 @@
Feature: create Space shortcut
#
# FIXME: skipped because of oCIS pipeline, un-skip and check if https://github.com/owncloud/web/pull/8781 solves the issue
# Scenario: create Space from folder
# Given "Admin" creates following users using API
# | id |
# | Alice |
# And "Admin" assigns following roles to the users using API
# | id | role |
# | Alice | Space Admin |
# And "Alice" creates the following folder in personal space using API
# | name |
# | spaceFolder |
# | spaceFolder/test |
# When "Alice" logs in
# And "Alice" navigates to the personal space page
# And "Alice" uploads the following resources
# | resource | to |
# | data.zip | spaceFolder |
# | lorem.txt | spaceFolder |
# And "Alice" navigates to the personal space page
# And "Alice" creates space "folderSpace" from folder "spaceFolder" using the context menu
# And "Alice" navigates to the projects space page
# And "Alice" navigates to the project space "folderSpace"
# Then following resources should be displayed in the files list for user "Alice"
# | resource |
# | data.zip |
# | lorem.txt |
# And "Alice" logs out
#
# Scenario: create space from resources
# Given "Admin" creates following users using API
# | id |
# | Alice |
# And "Admin" assigns following roles to the users using API
# | id | role |
# | Alice | Space Admin |
# And "Alice" creates the following folder in personal space using API
# | name |
# | resourceFolder |
# When "Alice" logs in
# And "Alice" navigates to the personal space page
# And "Alice" uploads the following resources
# | resource | to |
# | data.zip | resourceFolder |
# | lorem.txt | |
# And "Alice" navigates to the personal space page
# And "Alice" creates space "resourceSpace" from resources using the context menu
# | resource |
# | resourceFolder |
# | lorem.txt |
# And "Alice" navigates to the projects space page
# And "Alice" navigates to the project space "resourceSpace"
# Then following resources should be displayed in the files list for user "Alice"
# | resource |
# | resourceFolder |
# | lorem.txt |
# And "Alice" logs out

Scenario: create Space from folder
Given "Admin" creates following users using API
| id |
| Alice |
And "Admin" assigns following roles to the users using API
| id | role |
| Alice | Space Admin |
And "Alice" creates the following folder in personal space using API
| name |
| spaceFolder |
| spaceFolder/test |
When "Alice" logs in
And "Alice" navigates to the personal space page
And "Alice" uploads the following resources
| resource | to |
| data.zip | spaceFolder |
| lorem.txt | spaceFolder |
And "Alice" navigates to the personal space page
And "Alice" creates space "folderSpace" from folder "spaceFolder" using the context menu
And "Alice" navigates to the projects space page
And "Alice" navigates to the project space "folderSpace"
Then following resources should be displayed in the files list for user "Alice"
| resource |
| data.zip |
| lorem.txt |
And "Alice" logs out

Scenario: create space from resources
Given "Admin" creates following users using API
| id |
| Alice |
And "Admin" assigns following roles to the users using API
| id | role |
| Alice | Space Admin |
And "Alice" creates the following folder in personal space using API
| name |
| resourceFolder |
When "Alice" logs in
And "Alice" navigates to the personal space page
And "Alice" uploads the following resources
| resource | to |
| data.zip | resourceFolder |
| lorem.txt | |
And "Alice" navigates to the personal space page
And "Alice" creates space "resourceSpace" from resources using the context menu
| resource |
| resourceFolder |
| lorem.txt |
And "Alice" navigates to the projects space page
And "Alice" navigates to the project space "resourceSpace"
Then following resources should be displayed in the files list for user "Alice"
| resource |
| resourceFolder |
| lorem.txt |
And "Alice" logs out

0 comments on commit 4a1da15

Please sign in to comment.