mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-12-04 20:28:49 +00:00
8b2c6355cc
This browser test checks that mentions go to alerts and talk page messages go to messages popup. This also upgrades the MW-Selenium version in Echo tests to 1.6.1. Depends on MW-Selenium version 1.6.1 (See T114061) Bug: T113081 Change-Id: I40a17500cdfb838420c04dc0b9268ba56515cc2c
12 lines
313 B
Ruby
12 lines
313 B
Ruby
Given(/^I see the alert popup$/) do
|
|
on(ArticlePage) do |page|
|
|
expect(page.popup_title(page.popup_alert_element).text).to match('Alerts')
|
|
end
|
|
end
|
|
|
|
Given(/^I see the message popup$/) do
|
|
on(ArticlePage) do |page|
|
|
expect(page.popup_title(page.popup_message_element).text).to match('Messages')
|
|
end
|
|
end
|