Fixed spacing issues [MQ-34]
This commit is contained in:
@@ -9,21 +9,16 @@ require_once __DIR__ . '/../DataFactories/Newsletter.php';
|
||||
class ConfirmNotificationAutosaveCest {
|
||||
function confirmNotificationAutosave(\AcceptanceTester $I) {
|
||||
$I->wantTo('Confirm Post Notification Autosave');
|
||||
|
||||
$newsletter_title = 'Notification Autosave Test';
|
||||
|
||||
|
||||
// step 1 - Prepare post notification data
|
||||
$newsletterFactory = new Newsletter();
|
||||
$newsletter = $newsletterFactory->withSubject($newsletter_title)
|
||||
->withType('notification')
|
||||
->withPostNoticationOptions()
|
||||
->create();
|
||||
|
||||
// step 2 - Go to editor
|
||||
$I->login();
|
||||
$I->amEditingNewsletter($newsletter->id);
|
||||
|
||||
$I->amEditingNewsletter($newsletter->id);
|
||||
// step 3 - Add subject, wait for Autosave
|
||||
$title_element = '[data-automation-id=\'newsletter_title\']';
|
||||
$I->waitForElement($title_element);
|
||||
|
Reference in New Issue
Block a user