From 4dd25441ce05e5588a4cf9de55572b60c7fb5375 Mon Sep 17 00:00:00 2001 From: Sonny Kieu Date: Tue, 1 Dec 2020 18:19:50 +1100 Subject: [PATCH] Fixed some minor issues in common test trait. On-behalf-of: @salsadigitalorgau --- tests/behat/bootstrap/TideCommonTrait.php | 33 ++++++++++------------- 1 file changed, 14 insertions(+), 19 deletions(-) diff --git a/tests/behat/bootstrap/TideCommonTrait.php b/tests/behat/bootstrap/TideCommonTrait.php index c61b1ae..369fe44 100644 --- a/tests/behat/bootstrap/TideCommonTrait.php +++ b/tests/behat/bootstrap/TideCommonTrait.php @@ -1,9 +1,9 @@ loggedInUser)) { $this->logout(); } @@ -58,22 +58,17 @@ public function waitForSeconds($sec) { */ public function iWaitForAjaxToFinish($timeout) { $condition = <<getSession()->wait($timeout * 1000, $condition); if (!$result) {