-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable e2e tests for space-shortcut-action
- Loading branch information
1 parent
b876991
commit 4a1da15
Showing
1 changed file
with
56 additions
and
57 deletions.
There are no files selected for viewing
113 changes: 56 additions & 57 deletions
113
tests/e2e/cucumber/features/smoke/createSpaceFromSelection.ocis.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |