summaryrefslogtreecommitdiff
path: root/tests/browser/features/view_history.feature
diff options
context:
space:
mode:
Diffstat (limited to 'tests/browser/features/view_history.feature')
-rw-r--r--tests/browser/features/view_history.feature11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/browser/features/view_history.feature b/tests/browser/features/view_history.feature
new file mode 100644
index 00000000..ba61ebda
--- /dev/null
+++ b/tests/browser/features/view_history.feature
@@ -0,0 +1,11 @@
+@chrome @clean @firefox @phantomjs
+Feature: View History
+
+ Scenario: Edit page and view history
+ Given I go to the "History Test Page" page with content "This is a page that will have history"
+ When I click Edit
+ And I edit the page with "Edited and a random string"
+ And I save the edit
+ And the edited page content should contain "Edited and a random string"
+ And I click View History
+ Then I should see a link to a previous version of the page