Skip to content

Commit

Permalink
added step to share file with same name
Browse files Browse the repository at this point in the history
  • Loading branch information
PrajwolAmatya committed Feb 21, 2024
1 parent d00009f commit 75e20fc
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions tests/e2e/cucumber/features/smoke/shares/share.feature
Original file line number Diff line number Diff line change
Expand Up @@ -168,23 +168,34 @@ Feature: share
And "Alice" creates the following folder in personal space using API
| name |
| test-folder |
And "Alice" creates the following files into personal space using API
| pathToFile | content |
| testfile.txt | example text |
And "Alice" opens the "files" app
And "Alice" shares the following resource using the sidebar panel
| resource | recipient | type | role |
| testfile.txt | Brian | user | Can view |
| test-folder | Brian | user | Can view |
And "Alice" logs out
And "Carol" logs in
And "Carol" creates the following folder in personal space using API
| name |
| test-folder |
And "Carol" creates the following files into personal space using API
| pathToFile | content |
| testfile.txt | example text |
And "Carol" opens the "files" app
And "Carol" shares the following resource using the sidebar panel
| resource | recipient | type | role |
| test-folder | Brian | user | Can view |
| resource | recipient | type | role |
| testfile.txt | Brian | user | Can view |
| test-folder | Brian | user | Can view |
And "Carol" logs out
When "Brian" navigates to the shared with me page
Then following resources should be displayed in the Shares for user "Brian"
| resource |
| test-folder |
| test-folder (1) |
| resource |
| testfile.txt |
| test-folder |
# https://github.com/owncloud/ocis/issues/8471
# | testfile (1).txt |
# | test-folder (1) |
And "Brian" logs out

0 comments on commit 75e20fc

Please sign in to comment.