Skip to content

Commit

Permalink
Wait to see the next button before clicking
Browse files Browse the repository at this point in the history
This should fix the flakiness of EditorCouponCest::addCoupon

[MAILPOET-4908]
  • Loading branch information
samnajian committed Mar 8, 2023
1 parent 33e0048 commit 419d2ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mailpoet/tests/acceptance/Newsletters/EditorCouponCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ public function addCoupon(\AcceptanceTester $i) {
$i->seeNoJSErrors();

$i->wantTo('Send the email with coupon');
$i->waitForText('Next');
$i->click('Next');
$segmentName = $i->createListWithSubscriber();

Expand Down

0 comments on commit 419d2ac

Please sign in to comment.