From 659ea14f4bf5f2deb12e643a14c9c5ee7329a900 Mon Sep 17 00:00:00 2001 From: Michelle Shull <34072553+michelleshull@users.noreply.github.com> Date: Mon, 10 Sep 2018 13:38:04 -0400 Subject: [PATCH] Update SaveNotificationAsDraftCest.php --- tests/acceptance/SaveNotificationAsDraftCest.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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 +}