Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
our_own_cloud_project
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
die_coolen_jungs
our_own_cloud_project
Commits
65dadf15
Commit
65dadf15
authored
Mar 22, 2017
by
Sergio Bertolin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added some tests using folders
parent
83975a05
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
tests/integration/features/comments.feature
tests/integration/features/comments.feature
+19
-0
No files found.
tests/integration/features/comments.feature
View file @
65dadf15
...
...
@@ -104,3 +104,22 @@ Feature: Comments
#Then the single response should contain a property "{http://owncloud.org/ns}comments-count" with value "1"
And the single response should contain a property "{http
:
//owncloud.org/ns}comments-unread"
with
value
"0"
And the single response should contain a property "{http
:
//owncloud.org/ns}comments-href"
with
value
"a_comment_url"
Scenario
:
Creating a comment on a folder belonging to myself
Given
user
"user0"
exists
And
As an
"user0"
When
user
"user0"
comments with content
"My first comment"
on folder
"/FOLDER"
Then
user
"user0"
should have the following comments on folder
"/FOLDER"
|
user0
|
My
first
comment
|
Scenario
:
Creating a comment on a shared folder belonging to another user
Given
user
"user0"
exists
And
user
"user1"
exists
And
user
"user0"
created a folder
"/FOLDER_TO_SHARE"
And
folder
"/FOLDER_TO_SHARE"
of user
"user0"
is shared with user
"user1"
And
user
"user1"
comments with content
"A comment from sharee"
on folder
"/FOLDER_TO_SHARE"
And
user
"user0"
comments with content
"A comment from sharer"
on folder
"/FOLDER_TO_SHARE"
And
the HTTP status code should be
"201"
Then
user
"user1"
should have the following comments on file
"/FOLDER_TO_SHARE"
|
user1
|
A
comment
from
sharee
|
|
user0
|
A
comment
from
sharer
|
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment