mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +00:00
[browser test] add when_present to link header check
I was surprised to find this missing, this was a mistake that causes bogus failures Change-Id: Iab38ef4db315993ca1f31c079f17be22ebf17d3c
This commit is contained in:
parent
99ece6e6d0
commit
f0731084da
|
@ -4,7 +4,7 @@ When(/^I click the Link button$/) do
|
|||
end
|
||||
|
||||
Given(/^I can see the Link User Inteface$/) do
|
||||
on(VisualEditorPage).ve_link_ui.should match Regexp.escape("Hyperlink")
|
||||
on(VisualEditorPage).ve_link_ui.when_present.should match Regexp.escape("Hyperlink")
|
||||
end
|
||||
|
||||
When(/^I click the blue text$/) do
|
||||
|
|
Loading…
Reference in a new issue