Skip to content

Commit

Permalink
Improve tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent Petry committed Jul 5, 2017
1 parent aca28b6 commit 2ca19dc
Showing 1 changed file with 9 additions and 18 deletions.
27 changes: 9 additions & 18 deletions build/integration/features/webdav-related.feature
Original file line number Diff line number Diff line change
Expand Up @@ -396,22 +396,13 @@ Feature: webdav-related
And folder "/folderA" of user "user0" is shared with user "user1"
And folder "/folderB" of user "user0" is shared with user "user1"
And user "user1" created a folder "/folderA/ONE"
And user "user1" created a folder "/folderA/ONE/TWO"
And User "user1" stores id of file "/folderA/ONE"
And User "user1" moves folder "/folderA/ONE" to "/folderB"
When user "user1" created a folder "/folderB/ONE/TWO/THREE"
And using old dav path
Then user "user1" should see following elements
| /FOLDER/ |
| /PARENT/ |
| /PARENT/parent.txt |
| /textfile0.txt |
| /textfile1.txt |
| /textfile2.txt |
| /textfile3.txt |
| /textfile4.txt |
| /folderA |
| /folderB |
| /folderB/ONE |
| /folderB/ONE/TWO |
| /folderB/ONE/TWO/THREE |
And user "user1" created a folder "/folderA/ONE/TWO"
When User "user1" moves folder "/folderA/ONE" to "/folderB/ONE"
Then as "user1" the folder "/folderA" exists
And as "user1" the folder "/folderA/ONE" does not exist
# yes, a weird bug used to make this one fail
And as "user1" the folder "/folderA/ONE/TWO" does not exist
And as "user1" the folder "/folderB/ONE" exists
And as "user1" the folder "/folderB/ONE/TWO" exists
And User "user1" checks id of file "/folderB/ONE"

0 comments on commit 2ca19dc

Please sign in to comment.