Add acceptance test for post notification edit [MQ-29]

This commit is contained in:
Rostislav Wolny
2018-07-18 13:06:06 +02:00
parent 33149d041c
commit c868c39696
6 changed files with 545 additions and 0 deletions

View File

@@ -63,6 +63,7 @@ const FormFieldSelect = React.createClass({
id={`field_${this.props.field.name}`}
value={this.props.item[this.props.field.name] || ''}
onChange={this.props.onValueChange}
data-automation-id={this.props.automationId}
{...this.props.field.validation}
>
{placeholder}

View File

@@ -134,6 +134,7 @@ const NotificationScheduling = React.createClass({
field={intervalField}
item={this.getCurrentValue()}
onValueChange={this.handleIntervalChange}
automationId="newsletter_interval_type"
/>
{nthWeekDaySelection}