Advertisement
Guest User

Test feature over beta labs

a guest
Mar 25th, 2014
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.98 KB | None | 0 0
  1. $ bundle exec cucumber features/editor_ve.feature
  2. *** WARNING: You must use ANSICON 1.31 or higher (https://github.com/adoxa/ansic
  3. on/) to get coloured output on Windows
  4. @chrome @en.m.wikipedia.beta.wmflabs.org @firefox @login @test2.m.wikipedia.org
  5. Feature: VisualEditor
  6.  
  7. Background: # features\editor_ve.feature:4
  8. Given I am in alpha mode # features/step_definitions/common_s
  9. teps.rb:77
  10. timed out after 5 seconds, waiting for {:class=>"mw-mf-settings-off", :tag
  11. _name=>"span"} to become present (Watir::Wait::TimeoutError)
  12. ./features/step_definitions/common_steps.rb:82:in `block (3 levels) in <to
  13. p (required)>'
  14. ./features/step_definitions/common_steps.rb:81:in `block (2 levels) in <to
  15. p (required)>'
  16. ./features/step_definitions/common_steps.rb:78:in `/^I am in alpha mode$/'
  17.  
  18. features\editor_ve.feature:5:in `Given I am in alpha mode'
  19. And I am logged into the mobile website # features/step_definitions/common_s
  20. teps.rb:10
  21.  
  22. Scenario: Switch from VisualEditor to source editor # features\e
  23. ditor_ve.feature:8
  24. Given I am on the "Selenium Edit Test" page # features/s
  25. tep_definitions/common_steps.rb:88
  26. And I click the edit button # features/s
  27. tep_definitions/editor_steps.rb:7
  28. And I see the VisualEditor overlay # features/s
  29. tep_definitions/editor_ve_steps.rb:9
  30. And The VisualEditor overlay has an editor mode switcher button # features/s
  31. tep_definitions/editor_ve_steps.rb:29
  32. And I click the editor mode switcher button # features/s
  33. tep_definitions/editor_steps.rb:27
  34. When I click the source editor button # features/s
  35. tep_definitions/editor_steps.rb:31
  36. Then I see the wikitext editor # features/s
  37. tep_definitions/editor_steps.rb:11
  38.  
  39. Scenario: Ensure we load the correct section # features\editor_
  40. ve.feature:17
  41. Given I am on the "Duel Masters" page # features/step_de
  42. finitions/common_steps.rb:88
  43. When I click the edit button for section 1 # features/step_de
  44. finitions/editor_ve_steps.rb:40
  45. Then I see the VisualEditor overlay # features/step_de
  46. finitions/editor_ve_steps.rb:9
  47. And The URL of the page should contain "#/VisualEditor/1" # features/step_de
  48. finitions/common_steps.rb:92
  49.  
  50. Scenario: Toolbar VisualEditor # features\editor_ve.featu
  51. re:23
  52. Given I am on the "Selenium Edit Test" page # features/step_definition
  53. s/common_steps.rb:88
  54. When I click the edit button # features/step_definition
  55. s/editor_steps.rb:7
  56. Then I see the VisualEditor overlay # features/step_definition
  57. s/editor_ve_steps.rb:9
  58. And I see a toolbar in the overlay header # features/step_definition
  59. s/editor_ve_steps.rb:17
  60. And The VisualEditor toolbar has a bold button # features/step_definition
  61. s/editor_ve_steps.rb:21
  62. And The VisualEditor toolbar has an italic button # features/step_definition
  63. s/editor_ve_steps.rb:25
  64.  
  65. Scenario: I can edit a page using VisualEditor # features\editor_ve.feature:31
  66.  
  67. Given I am on the "Selenium Edit Test" page # features/step_definitions/com
  68. mon_steps.rb:88
  69. And I click the edit button # features/step_definitions/edi
  70. tor_steps.rb:7
  71. And VisualEditor has loaded # features/step_definitions/edi
  72. tor_ve_steps.rb:1
  73. And I type "ABCDEFG" into VisualEditor # features/step_definitions/edi
  74. tor_ve_steps.rb:33
  75. And I click continue # features/step_definitions/com
  76. mon_article_steps.rb:17
  77. When I click submit # features/step_definitions/com
  78. mon_article_steps.rb:21
  79. Then I do not see the VisualEditor overlay # features/step_definitions/edi
  80. tor_ve_steps.rb:13
  81. And I see a toast notification # features/step_definitions/com
  82. mon_article_steps.rb:46
  83.  
  84. Scenario: Going back from save screen in VisualEditor # features\editor_ve.fea
  85. ture:41
  86. Given I am on the "Selenium Edit Test" page # features/step_definiti
  87. ons/common_steps.rb:88
  88. And I click the edit button # features/step_definiti
  89. ons/editor_steps.rb:7
  90. And I type "ABCDEFG" into VisualEditor # features/step_definiti
  91. ons/editor_ve_steps.rb:33
  92. And I click continue # features/step_definiti
  93. ons/common_article_steps.rb:17
  94. When I click the escape button # features/step_definiti
  95. ons/common_article_steps.rb:13
  96. Then I see the VisualEditor # features/step_definiti
  97. ons/editor_ve_steps.rb:5
  98.  
  99. Failing Scenarios:
  100. cucumber features\editor_ve.feature:8 # Scenario: Switch from VisualEditor to so
  101. urce editor
  102.  
  103. 5 scenarios (1 failed, 4 skipped)
  104. 41 steps (1 failed, 40 skipped)
  105. 0m45.101s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement