Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ bundle exec cucumber features/editor_ve.feature
- *** WARNING: You must use ANSICON 1.31 or higher (https://github.com/adoxa/ansic
- on/) to get coloured output on Windows
- @chrome @en.m.wikipedia.beta.wmflabs.org @firefox @login @test2.m.wikipedia.org
- Feature: VisualEditor
- Background: # features\editor_ve.feature:4
- Given I am in alpha mode # features/step_definitions/common_s
- teps.rb:77
- timed out after 5 seconds, waiting for {:class=>"mw-mf-settings-off", :tag
- _name=>"span"} to become present (Watir::Wait::TimeoutError)
- ./features/step_definitions/common_steps.rb:82:in `block (3 levels) in <to
- p (required)>'
- ./features/step_definitions/common_steps.rb:81:in `block (2 levels) in <to
- p (required)>'
- ./features/step_definitions/common_steps.rb:78:in `/^I am in alpha mode$/'
- features\editor_ve.feature:5:in `Given I am in alpha mode'
- And I am logged into the mobile website # features/step_definitions/common_s
- teps.rb:10
- Scenario: Switch from VisualEditor to source editor # features\e
- ditor_ve.feature:8
- Given I am on the "Selenium Edit Test" page # features/s
- tep_definitions/common_steps.rb:88
- And I click the edit button # features/s
- tep_definitions/editor_steps.rb:7
- And I see the VisualEditor overlay # features/s
- tep_definitions/editor_ve_steps.rb:9
- And The VisualEditor overlay has an editor mode switcher button # features/s
- tep_definitions/editor_ve_steps.rb:29
- And I click the editor mode switcher button # features/s
- tep_definitions/editor_steps.rb:27
- When I click the source editor button # features/s
- tep_definitions/editor_steps.rb:31
- Then I see the wikitext editor # features/s
- tep_definitions/editor_steps.rb:11
- Scenario: Ensure we load the correct section # features\editor_
- ve.feature:17
- Given I am on the "Duel Masters" page # features/step_de
- finitions/common_steps.rb:88
- When I click the edit button for section 1 # features/step_de
- finitions/editor_ve_steps.rb:40
- Then I see the VisualEditor overlay # features/step_de
- finitions/editor_ve_steps.rb:9
- And The URL of the page should contain "#/VisualEditor/1" # features/step_de
- finitions/common_steps.rb:92
- Scenario: Toolbar VisualEditor # features\editor_ve.featu
- re:23
- Given I am on the "Selenium Edit Test" page # features/step_definition
- s/common_steps.rb:88
- When I click the edit button # features/step_definition
- s/editor_steps.rb:7
- Then I see the VisualEditor overlay # features/step_definition
- s/editor_ve_steps.rb:9
- And I see a toolbar in the overlay header # features/step_definition
- s/editor_ve_steps.rb:17
- And The VisualEditor toolbar has a bold button # features/step_definition
- s/editor_ve_steps.rb:21
- And The VisualEditor toolbar has an italic button # features/step_definition
- s/editor_ve_steps.rb:25
- Scenario: I can edit a page using VisualEditor # features\editor_ve.feature:31
- Given I am on the "Selenium Edit Test" page # features/step_definitions/com
- mon_steps.rb:88
- And I click the edit button # features/step_definitions/edi
- tor_steps.rb:7
- And VisualEditor has loaded # features/step_definitions/edi
- tor_ve_steps.rb:1
- And I type "ABCDEFG" into VisualEditor # features/step_definitions/edi
- tor_ve_steps.rb:33
- And I click continue # features/step_definitions/com
- mon_article_steps.rb:17
- When I click submit # features/step_definitions/com
- mon_article_steps.rb:21
- Then I do not see the VisualEditor overlay # features/step_definitions/edi
- tor_ve_steps.rb:13
- And I see a toast notification # features/step_definitions/com
- mon_article_steps.rb:46
- Scenario: Going back from save screen in VisualEditor # features\editor_ve.fea
- ture:41
- Given I am on the "Selenium Edit Test" page # features/step_definiti
- ons/common_steps.rb:88
- And I click the edit button # features/step_definiti
- ons/editor_steps.rb:7
- And I type "ABCDEFG" into VisualEditor # features/step_definiti
- ons/editor_ve_steps.rb:33
- And I click continue # features/step_definiti
- ons/common_article_steps.rb:17
- When I click the escape button # features/step_definiti
- ons/common_article_steps.rb:13
- Then I see the VisualEditor # features/step_definiti
- ons/editor_ve_steps.rb:5
- Failing Scenarios:
- cucumber features\editor_ve.feature:8 # Scenario: Switch from VisualEditor to so
- urce editor
- 5 scenarios (1 failed, 4 skipped)
- 41 steps (1 failed, 40 skipped)
- 0m45.101s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement