Adds check for JS errors
This commit is contained in:
@@ -62,6 +62,7 @@ class ManageSubscriptionLinkCest {
|
|||||||
$I->click('Save');
|
$I->click('Save');
|
||||||
$I->wait(3);
|
$I->wait(3);
|
||||||
$I->seeOptionIsSelected('.mailpoet_select', 'Subscribed');
|
$I->seeOptionIsSelected('.mailpoet_select', 'Subscribed');
|
||||||
|
$I->seeNoJSErrors();
|
||||||
}
|
}
|
||||||
|
|
||||||
function unsubscribeLink(\AcceptanceTester $I) {
|
function unsubscribeLink(\AcceptanceTester $I) {
|
||||||
@@ -76,5 +77,6 @@ class ManageSubscriptionLinkCest {
|
|||||||
$I->click('Manage your subscription');
|
$I->click('Manage your subscription');
|
||||||
$I->wait(3);
|
$I->wait(3);
|
||||||
$I->seeOptionIsSelected('.mailpoet_select', 'Unsubscribed');
|
$I->seeOptionIsSelected('.mailpoet_select', 'Unsubscribed');
|
||||||
|
$I->seeNoJSErrors();
|
||||||
}
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user