From a1daf7dc3a751bc62ce2ff3d80cdfea94f816af7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Lys=C3=BD?= Date: Tue, 12 Jul 2022 20:40:04 +0200 Subject: [PATCH] Fix flaky acceptance test [MAILPOET-4339] --- mailpoet/tests/acceptance/Forms/EditorUpdateNewFormCest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/mailpoet/tests/acceptance/Forms/EditorUpdateNewFormCest.php b/mailpoet/tests/acceptance/Forms/EditorUpdateNewFormCest.php index ca1e0bc44d..9561559cec 100644 --- a/mailpoet/tests/acceptance/Forms/EditorUpdateNewFormCest.php +++ b/mailpoet/tests/acceptance/Forms/EditorUpdateNewFormCest.php @@ -46,6 +46,7 @@ class EditorUpdateNewFormCest { $i->waitForElement('[data-automation-id="template_selection_list"]'); $i->click('[data-automation-id="select_template_template_1_popup"]'); $i->waitForElement('[data-automation-id="form_title_input"]'); + $i->clearField('[data-automation-id="form_title_input"]'); // Clear field due to flakiness $i->fillField('[data-automation-id="form_title_input"]', $formName); // Try saving form without selected list $i->click('[data-automation-id="form_save_button"]');