Skip to content

Commit 877203c

Browse files
committed
Try to fix db export Selenium test
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
1 parent 58e1583 commit 877203c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

test/selenium/ExportTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
use Facebook\WebDriver\Exception\ElementClickInterceptedException;
88

9+
use function sleep;
10+
911
/**
1012
* @coversNothing
1113
*/
@@ -169,6 +171,7 @@ private function doExport(string $type, string $plugin): string
169171
try {
170172
$this->waitForElement('id', 'buttonGo')->click();
171173
} catch (ElementClickInterceptedException $exception) {
174+
sleep(1);
172175
$this->scrollToBottom();
173176
$this->waitForElement('id', 'buttonGo')->click();
174177
}

0 commit comments

Comments
 (0)