Update form acceptance test check

[MAILPOET-4471]
This commit is contained in:
Rostislav Wolny
2022-07-19 11:17:08 +02:00
committed by Veljko V
parent 6777a9b560
commit 35d9a6b2d3

View File

@@ -96,7 +96,7 @@ class GutenbergFormBlockCest {
$i->fillField('[data-automation-id="form_last_name"]', $this->lastName); $i->fillField('[data-automation-id="form_last_name"]', $this->lastName);
$i->fillField('[data-automation-id="form_email"]', $this->firstName); $i->fillField('[data-automation-id="form_email"]', $this->firstName);
$i->click('.mailpoet_submit'); $i->click('.mailpoet_submit');
$i->waitForText('Please specify a valid email address.'); $i->waitForText('This value should be a valid email.');
$i->fillField('[data-automation-id="form_email"]', $this->subscriberEmail); $i->fillField('[data-automation-id="form_email"]', $this->subscriberEmail);
$i->click('.mailpoet_submit'); $i->click('.mailpoet_submit');