Fix acceptance test

[MAILPOET-2787]
This commit is contained in:
Ján Mikláš
2020-09-10 14:49:34 +02:00
committed by Veljko V
parent c4cd50034d
commit 4343b421b6
2 changed files with 2 additions and 1 deletions

View File

@@ -89,6 +89,7 @@ class StandardScheduling extends React.Component {
disabled={this.props.field.disabled}
name="isScheduled"
onCheck={this.handleCheckboxChange}
automationId="email-schedule-checkbox"
/>
{schedulingOptions}

View File

@@ -23,7 +23,7 @@ class ScheduleNewsletterCest {
// step 4 - Choose list and schedule
$i->waitForElement('[data-automation-id="newsletter_send_form"]');
$i->selectOptionInSelect2($segmentName);
$i->checkOption('isScheduled');
$i->click('[data-automation-id="email-schedule-checkbox"]');
$i->click('select[name=time]');
$i->selectOption('form select[name=time]', '6:00');
$i->click('Schedule');