Skip to content

Commit

Permalink
Fix comments and gherkein scenarios
Browse files Browse the repository at this point in the history
  • Loading branch information
dpakach authored and phil-davis committed Nov 2, 2018
1 parent 763b9fa commit 4303b65
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ private function getCommentXpath($content) {
}

/**
* find the xpath of comment with given content
* find the xpath of version list
*
* @param string $content
*
Expand All @@ -134,7 +134,7 @@ private function getCommentXpath($content) {
}

/**
* find the xpath of comment with given content
* find the xpath of button to revert to last version
*
* @param string $content
*
Expand Down
6 changes: 3 additions & 3 deletions tests/acceptance/features/webUIFiles/versions.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@webUI @insulated @files_versions-app-required @comments-app-required
@webUI @insulated @files_versions-app-required
Feature: Versions of a file

As a user
Expand All @@ -18,7 +18,7 @@ Feature: Versions of a file
And user "user0" has uploaded file with content "new lorem content" to "/lorem.txt"
When the user browses directly to display the "versions" details of file "lorem.txt" in folder "/"
Then the content of file "lorem.txt" for user "user0" should be "new lorem content"
Then the versions list should contain 2 entries
And the versions list should contain 2 entries

Scenario: restoring file to old version changes the content of the file
Given user "user0" has logged in using the webUI
Expand All @@ -38,4 +38,4 @@ Feature: Versions of a file
And the user has browsed to the files page
When the user browses directly to display the "versions" details of file "lorem-file.txt" in folder "/"
Then the content of file "lorem-file.txt" for user "user1" should be "new lorem content"
Then the versions list should contain 2 entries
And the versions list should contain 2 entries

0 comments on commit 4303b65

Please sign in to comment.