Add acceptances tests for admin listings [MAILPOET-1206] [MAILPOET-1207] [MAILPOET-1208] [MAILPOET-1209]

This commit is contained in:
stoletniy
2017-11-16 12:53:38 +03:00
committed by pavel-mailpoet
parent 0193644b18
commit dc074bcb14
8 changed files with 73 additions and 19 deletions

View File

@@ -186,7 +186,7 @@ const ListingItem = React.createClass({
const row_classes = classNames({ 'is-expanded': this.state.expanded });
return (
<tr className={row_classes}>
<tr className={row_classes} data-automation-id={'listing_item_' + this.props.item.id}>
{ checkbox }
{ this.props.onRenderItem(this.props.item, actions) }
</tr>

View File

@@ -46,7 +46,7 @@ const ListingTabs = React.createClass({
});
return (
<h2 className="nav-tab-wrapper">
<h2 className="nav-tab-wrapper" data-automation-id="newsletters_listing_tabs">
{ tabs }
</h2>
);