mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-12-13 08:31:23 +00:00
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
|