diff --git a/tests/acceptance/SaveNotificationAsDraftCest.php b/tests/acceptance/SaveNotificationAsDraftCest.php index 033d4ddd41..d82d625679 100644 --- a/tests/acceptance/SaveNotificationAsDraftCest.php +++ b/tests/acceptance/SaveNotificationAsDraftCest.php @@ -8,7 +8,6 @@ require_once __DIR__ . '/../DataFactories/Newsletter.php'; class SavePostNotificationEmailAsDraftCest { function saveNotificationAsDraft(\AcceptanceTester $I) { - // step 1 - Prepare post notification data $I->wantTo('Save post notification email as draft'); $newsletter_title = 'Draft Test Post Notification'; @@ -17,12 +16,10 @@ class SavePostNotificationEmailAsDraftCest { ->withType('notification') ->withPostNoticationOptions() ->create(); - // step 2 - Go to editor $I->login(); $I->amEditingNewsletter($newsletter->id); $I->click('Next'); - //Save Notification As Draft $send_form_element = '[data-automation-id="newsletter_send_form"]'; $I->waitForElement($send_form_element); @@ -35,4 +32,4 @@ class SavePostNotificationEmailAsDraftCest { $I->seeInCurrentUrl('/wp-admin/admin.php?page=mailpoet-newsletters#/notification'); $I->waitForText('Draft Test Post Notification'); } -} \ No newline at end of file +}