Skip to content

Commit

Permalink
Debugging behat scenario
Browse files Browse the repository at this point in the history
  • Loading branch information
senghe committed Sep 5, 2024
1 parent 7b269d2 commit c068095
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/Behat/Page/Admin/Block/CreatePage.php
Original file line number Diff line number Diff line change
Expand Up @@ -275,9 +275,9 @@ public function useTemplate(): void
public function confirmUseTemplate(): void
{
$this->getDocument()->findById('load-template-confirmation-button')->click();
$this->getDocument()->waitFor(2, function (): bool {
return '' !== $this->getDocument()->find('css', '[data-form-collection="list"]')->getHtml();
});
// $this->getDocument()->waitFor(2, function (): bool {
// return '' !== $this->getDocument()->find('css', '[data-form-collection="list"]')->getHtml();
// });
$this->getDocument()->waitFor(2, function () {
return false;
});
Expand Down

0 comments on commit c068095

Please sign in to comment.