aboutsummaryrefslogtreecommitdiffstats
path: root/tests/selenium/pageobjects/delete.page.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/selenium/pageobjects/delete.page.js')
-rw-r--r--tests/selenium/pageobjects/delete.page.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/selenium/pageobjects/delete.page.js b/tests/selenium/pageobjects/delete.page.js
index 6340dbd84798..053076f8fcef 100644
--- a/tests/selenium/pageobjects/delete.page.js
+++ b/tests/selenium/pageobjects/delete.page.js
@@ -12,10 +12,10 @@ class DeletePage extends Page {
super.openTitle( title, { action: 'delete' } );
}
- delete( title, reason ) {
- this.open( title );
- this.reason.setValue( reason );
- this.submit.click();
+ async delete( title, reason ) {
+ await this.open( title );
+ await this.reason.setValue( reason );
+ await this.submit.click();
}
}