Skip to content

Commit

Permalink
added comment and correct expectation
Browse files Browse the repository at this point in the history
  • Loading branch information
individual-it committed Nov 19, 2021
1 parent 8e064c2 commit 5b86178
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion tests/acceptance/features/apiActivity/list.feature
Original file line number Diff line number Diff line change
Expand Up @@ -1154,4 +1154,15 @@ Feature: List activity
| object_name | /^\/parent\/textfile0\.txt$/ |
| object_type | /^files$/ |
| typeicon | /^icon-add-color$/ |
| subject_prepared | /^You created <file link=\"%base_url%\/(index\.php\/)?apps\/files\/\?dir=\/parent\&scrollto=textfile\.txt\" id=\"\d+\">parent\/textfile0\.txt<\/file>$/ |
| subject_prepared | /^You created <file link=\"%base_url%\/(index\.php\/)?apps\/files\/\?dir=\/parent\&scrollto=textfile\.txt\" id=\"\d+\">parent\/textfile0\.txt<\/file>$/ |
# After fixing the issue remove the above expectation and enable the following one
# And as user "Alice" the activity number 1 for "/parent/textfile.txt" should match these properties:
# | type | /^file_renamed/ |
# | user | /^public$/ |
# | affecteduser | /^Alice$/ |
# | app | /^files$/ |
# | subject | /^renamed_public$/ |
# | object_name | /^\/parent\/textfile0\.txt$/ |
# | object_type | /^files$/ |
# | typeicon | /^icon-rename/ |
# | subject_prepared | /^The public renamed <file link=\"%base_url%\/(index\.php\/)?apps\/files\/\?dir=\/parent&scrollto=textfile0\.txt\" id=\"\">textfile0\.txt<\/file> to <file link=\"%base_url%\/(index\.php\/)?apps\/files\/\?dir=\/parent&scrollto=textfile\.txt\" id=\"\d+\">textfile\.txt<\/file>$/ |

0 comments on commit 5b86178

Please sign in to comment.