Fix Subscription Form Test [MQ-59]

This commit is contained in:
Michelle Shull
2018-09-20 11:05:46 -04:00
parent 94f2d3f1df
commit b94d014e58

View File

@@ -20,7 +20,7 @@ class SubscriptionFormCest {
$form = $form_factory->withName($form_name)->create();
$I->wantTo('Subscribe using form widget');
$I->cli('widget add mailpoet_form sidebar-1 2 --form=2 --title="Subscribe to Our Newsletter" --allow-root');
$I->cli('widget add mailpoet_form sidebar-1 2 --form=' . $form->id . ' --title="Subscribe to Our Newsletter" --allow-root');
$I->amOnPage('/');
$I->fillField('[data-automation-id=\'form_email\']', $this->subscriber_email);