From 684e544f1aa2e1cc75eb415f4f36fe552d356f61 Mon Sep 17 00:00:00 2001 From: Tim Eulitz Date: Mon, 8 Apr 2019 11:07:45 +0200 Subject: [PATCH] selenium: Add API wait and other pauses in rollback test Bug: T219440 Change-Id: Ifdc0ff72db7f6f176b8a7a0522235e91dfd2aa87 --- tests/selenium/specs/rollback.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/selenium/specs/rollback.js b/tests/selenium/specs/rollback.js index 805b793098..648e52f600 100644 --- a/tests/selenium/specs/rollback.js +++ b/tests/selenium/specs/rollback.js @@ -50,7 +50,9 @@ describe( 'Rollback with confirmation', function () { it( 'should offer a way to cancel rollbacks', function () { HistoryPage.rollback.click(); + browser.pause( 300 ); + HistoryPage.rollbackConfirmableNo.click(); browser.pause( 500 ); @@ -60,6 +62,9 @@ describe( 'Rollback with confirmation', function () { it( 'should perform rollbacks after confirming intention', function () { HistoryPage.rollback.click(); + + browser.pause( 300 ); + HistoryPage.rollbackConfirmableYes.click(); // waitUntil indirectly asserts that the content we are looking for is present -- 2.20.1