mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 22:35:41 +00:00
[BrowserTest] Click the editable area with .when_present
The editable area sometimes didn't appear, so a .when_present call is added to check that it's on the screen. Bug: T88663 Change-Id: I0c5e29a9d7f9d0a22ca8392df9f7a5b857f20d7d
This commit is contained in:
parent
130edbfe62
commit
ae4417e60d
|
@ -4,7 +4,7 @@ Given(/^I am on the (.+) page$/) do |article|
|
|||
end
|
||||
|
||||
Given(/^I click in the editable part$/) do
|
||||
on(VisualEditorPage).content_element.send_keys('')
|
||||
on(VisualEditorPage).content_element.when_present.send_keys('')
|
||||
end
|
||||
|
||||
Given(/^I go to the browser specific edit page page$/) do
|
||||
|
|
Loading…
Reference in a new issue