diff options
author | Alex Legler <alex@a3li.li> | 2015-08-15 13:32:14 +0200 |
---|---|---|
committer | Alex Legler <alex@a3li.li> | 2015-08-15 13:32:14 +0200 |
commit | d0cbe50515ded38cebcacb2c5690114caf610687 (patch) | |
tree | 9720ef5feb52b7233ec55d4b3f67a63bb2600ac1 /Flow/tests/browser/features/edit_existing.feature | |
parent | Add Thanks (diff) | |
download | extensions-d0cbe50515ded38cebcacb2c5690114caf610687.tar.gz extensions-d0cbe50515ded38cebcacb2c5690114caf610687.tar.bz2 extensions-d0cbe50515ded38cebcacb2c5690114caf610687.zip |
Add Flow
Diffstat (limited to 'Flow/tests/browser/features/edit_existing.feature')
-rw-r--r-- | Flow/tests/browser/features/edit_existing.feature | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Flow/tests/browser/features/edit_existing.feature b/Flow/tests/browser/features/edit_existing.feature new file mode 100644 index 00000000..bbbb24c8 --- /dev/null +++ b/Flow/tests/browser/features/edit_existing.feature @@ -0,0 +1,22 @@ +@clean @ee-prototype.wmflabs.org @en.wikipedia.beta.wmflabs.org @firefox @internet_explorer_10 @login @test2.wikipedia.org +Feature: Edit existing title + + Assumes that the test Flow page has at least two topics (with posts). + + Background: + Given I am logged in + And I am on Flow page + And I have created a Flow topic + + Scenario: Edit an existing title + When I click the Edit title action + And I edit the title field with Title edited + And I save the new title + Then the top post should have a heading which contains "Title edited" + + @phantomjs + Scenario: Edit existing post + When I click Edit post + And I edit the post field with Post edited + And I save the new post + Then the saved post should contain Post edited |