diff --git a/src/lib/Behat/Page/DashboardPage.php b/src/lib/Behat/Page/DashboardPage.php index 46774e67f5..09a6dadc9b 100644 --- a/src/lib/Behat/Page/DashboardPage.php +++ b/src/lib/Behat/Page/DashboardPage.php @@ -59,6 +59,8 @@ public function editDraft(string $contentDraftName) public function isDraftOnList(string $draftName): bool { + $this->getHTMLPage()->setTimeout(5)->find($this->getLocator('table'))->mouseOver(); + return $this->table->hasElement(['Name' => $draftName]); }