mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 02:23:58 +00:00
[BrowserTest] love for test that targets test2wiki
Change-Id: Ie37d88e891b592745e8f430da4481f2f1d2bd530
This commit is contained in:
parent
f7a7a89d00
commit
34f3572372
|
@ -67,6 +67,10 @@ When(/^I click This is a minor edit$/) do
|
|||
on(VisualEditorPage).minor_edit_element.when_present.click
|
||||
end
|
||||
|
||||
When(/^I do not see This is a minor edit$/) do
|
||||
on(VisualEditorPage).minor_edit_element.when_not_present
|
||||
end
|
||||
|
||||
When(/^I edit the description of the change$/) do
|
||||
on(VisualEditorPage).describe_change_element.when_visible.send_keys("Describing with #{@random_string}")
|
||||
end
|
||||
|
@ -79,7 +83,7 @@ When(/^I edit the page with (.+)$/) do |input_string|
|
|||
end
|
||||
|
||||
When(/^I see the IP warning signs$/) do
|
||||
on(VisualEditorPage).ip_warning.when_present
|
||||
on(VisualEditorPage).ip_warning_element.when_present
|
||||
end
|
||||
|
||||
Then(/^I can click Cancel save$/) do
|
||||
|
|
Loading…
Reference in a new issue