From 7b269d2fc3af37f37b6e5786974f6a6bdd5a6eb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Kukli=C5=84ski?= Date: Thu, 5 Sep 2024 10:53:01 +0200 Subject: [PATCH] Debugging behat scenario --- tests/Behat/Page/Admin/Block/CreatePage.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/Behat/Page/Admin/Block/CreatePage.php b/tests/Behat/Page/Admin/Block/CreatePage.php index d7bf2a9b..3589ca95 100755 --- a/tests/Behat/Page/Admin/Block/CreatePage.php +++ b/tests/Behat/Page/Admin/Block/CreatePage.php @@ -278,6 +278,9 @@ public function confirmUseTemplate(): void $this->getDocument()->waitFor(2, function (): bool { return '' !== $this->getDocument()->find('css', '[data-form-collection="list"]')->getHtml(); }); + $this->getDocument()->waitFor(2, function () { + return false; + }); } protected function getDefinedElements(): array