From c068095f20fd8794a62f0f85002ab10aed482d9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Kukli=C5=84ski?= Date: Thu, 5 Sep 2024 10:58:26 +0200 Subject: [PATCH] Debugging behat scenario --- tests/Behat/Page/Admin/Block/CreatePage.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Behat/Page/Admin/Block/CreatePage.php b/tests/Behat/Page/Admin/Block/CreatePage.php index 3589ca95..bc8e91c1 100755 --- a/tests/Behat/Page/Admin/Block/CreatePage.php +++ b/tests/Behat/Page/Admin/Block/CreatePage.php @@ -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; });