Skip to content

Commit a452ccf

Browse files
[Behat] Fix for no draft on draft list (#1717)
* [Behat] Fix for no draft on draft list * cs fix
1 parent 0879a75 commit a452ccf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib/Behat/Page/DashboardPage.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ public function editDraft(string $contentDraftName)
5959

6060
public function isDraftOnList(string $draftName): bool
6161
{
62+
$this->getHTMLPage()->setTimeout(5)->find($this->getLocator('table'))->mouseOver();
63+
6264
return $this->table->hasElement(['Name' => $draftName]);
6365
}
6466

0 commit comments

Comments
 (0)