mediawiki-extensions-Echo/tests/browser/features/flyout_nojs.feature
Cmcmahon b3df4d0814 QA: Refactoring and making the nojs test dtrt
* add @custom_browser tag so we don't create an extra browser instance
* remove @chrome tag because this only works in Firefox
* alphabetize within G/W/T buckets in commons_steps.rb
* alphabetize flyout_steps.rb
* bring env.rb up to date with the modern situation
* make assertions about the URL and heading on the final destination page
* update Ruby gems, especially mediawiki-selenium with a @custom_browser improvement
** use modern RSpec assert syntax
*** we're going to have to update all the repos for this soon

Change-Id: I6cb20126a662bd2a20e2b4bbebe91e8f3b04c7df
2014-09-23 13:35:50 -07:00

13 lines
485 B
Gherkin

@custom-browser @en.wikipedia.beta.wmflabs.org @firefox @login @test2.wikipedia.org
Feature: Flyout (nojs)
Background:
Given I am using user agent "Mozilla/4.0 (compatible; MSIE 5.00; Windows 98)"
And I am on the "Selenium Echo flyout test page" page
Scenario: Flyout button present
Given I am logged in
When I click the notification flyout button
Then I am on the Special Notifications page
And I see the first heading on the page says Notifications