Skip to content

Commit f3f52ad

Browse files
committed
selenium: Wait for the page to be fully loaded in Page.openTitle
Return the returned promise from Page.openTitle to the caller Follow-Up: Idd72732a749ee6657a8617cc0ecc7ab9f6217a69 Change-Id: I554f6358a97323fe2b9c172c8984bab3bd067434
1 parent 011c609 commit f3f52ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/selenium/pageobjects/edit.page.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ class EditPage extends Page {
115115
return $( '.oo-ui-tool-name-editModeVisual' );
116116
}
117117

118-
openForEditing( title ) {
119-
super.openTitle( title, { veaction: 'edit', cxhidebetapopup: 1, hidewelcomedialog: 1, vehidebetadialog: 1 } );
118+
async openForEditing( title ) {
119+
return super.openTitle( title, { veaction: 'edit', cxhidebetapopup: 1, hidewelcomedialog: 1, vehidebetadialog: 1 } );
120120
}
121121

122122
activationComplete() {

0 commit comments

Comments
 (0)