summaryrefslogtreecommitdiffstats
path: root/build/integration/features/comments-search.feature
diff options
context:
space:
mode:
Diffstat (limited to 'build/integration/features/comments-search.feature')
-rw-r--r--build/integration/features/comments-search.feature5
1 files changed, 5 insertions, 0 deletions
diff --git a/build/integration/features/comments-search.feature b/build/integration/features/comments-search.feature
index 333407399d1..a1d116ee3f4 100644
--- a/build/integration/features/comments-search.feature
+++ b/build/integration/features/comments-search.feature
@@ -24,6 +24,7 @@ Feature: comments-search
| path | sharedFileToComment.txt |
| shareWith | user0 |
| shareType | 0 |
+ And user "user0" accepts last share
And "user0" posts a comment with content "My first comment" on the file named "/sharedFileToComment.txt" it should return "201"
When Logging in using web as "user0"
And searching for "first" in app "files"
@@ -45,6 +46,7 @@ Feature: comments-search
| path | mySharedFileToComment.txt |
| shareWith | user1 |
| shareType | 0 |
+ And user "user1" accepts last share
And "user1" posts a comment with content "Other's first comment" on the file named "/mySharedFileToComment.txt" it should return "201"
When Logging in using web as "user0"
And searching for "first" in app "files"
@@ -66,6 +68,7 @@ Feature: comments-search
| path | sharedFileToComment.txt |
| shareWith | user0 |
| shareType | 0 |
+ And user "user0" accepts last share
And "user1" posts a comment with content "Other's first comment" on the file named "/sharedFileToComment.txt" it should return "201"
When Logging in using web as "user0"
And searching for "first" in app "files"
@@ -179,11 +182,13 @@ Feature: comments-search
| path | mySharedFileToComment.txt |
| shareWith | user1 |
| shareType | 0 |
+ And user "user1" accepts last share
And User "user1" uploads file "data/textfile.txt" to "/sharedFileToComment.txt"
And as "user1" creating a share with
| path | sharedFileToComment.txt |
| shareWith | user0 |
| shareType | 0 |
+ And user "user0" accepts last share
And "user0" posts a comment with content "My first comment to be found" on the file named "/myFileToComment.txt" it should return "201"
And "user0" posts a comment with content "The second comment should not be found" on the file named "/myFileToComment.txt" it should return "201"
And "user0" posts a comment with content "My first comment to be found" on the file named "/mySharedFileToComment.txt" it should return "201"