mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-12-04 12:18:30 +00:00
3ea86361a4
The new oouified echo popup makes the tests invalid; this commit rewrites those tests. Also by doing this commit we are upgrading to Selenium 1.4. Change-Id: I26215558768d55be449276c55b4b745c3a458ecb
13 lines
444 B
Ruby
13 lines
444 B
Ruby
# This test has no javascript
|
|
# Therefore this test has no AJAX
|
|
# Therefore it should run without any "when_present" clauses
|
|
# If you need a "when_present" to make the test run, that is a bug
|
|
|
|
Given(/^I am using user agent "(.+)"$/) do |user_agent|
|
|
browser_factory.override(browser_user_agent: user_agent)
|
|
end
|
|
|
|
Given(/^I am on Special Notifications page$/) do
|
|
expect(on(SpecialNotificationsPage).firstHeading).to match('Notifications')
|
|
end
|