From 2d896c5631f697e3b746459e1e70242c78528a1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Kukli=C5=84ski?= Date: Thu, 5 Sep 2024 10:43:43 +0200 Subject: [PATCH] Debugging behat scenario --- features/admin/adding_block.feature | 1 - tests/Behat/Context/Ui/Admin/BlockContext.php | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/features/admin/adding_block.feature b/features/admin/adding_block.feature index a6e0a4aa..29dd78df 100644 --- a/features/admin/adding_block.feature +++ b/features/admin/adding_block.feature @@ -188,7 +188,6 @@ Feature: Adding blocks And I fill the name with "Intro" And I select "Homepage" template And I click button to use this template - And I change its password to "test" And I confirm that I want to use this template And I add it Then I should be notified that the block has been created diff --git a/tests/Behat/Context/Ui/Admin/BlockContext.php b/tests/Behat/Context/Ui/Admin/BlockContext.php index 89ed16c4..61f5791d 100755 --- a/tests/Behat/Context/Ui/Admin/BlockContext.php +++ b/tests/Behat/Context/Ui/Admin/BlockContext.php @@ -291,6 +291,7 @@ public function iAddAndCollectionsToIt(string ...$collectionsNames): void */ public function iAddIt(): void { + Assert::false(true); $this->createPage->create(); } @@ -413,7 +414,6 @@ public function iSelectTemplate(string $templateName): void */ public function iClickButtonToUseThisTemplate(): void { - Assert::false(true); $this->resolveCurrentPage()->useTemplate(); }