Add acceptances tests for admin listings [MAILPOET-1206] [MAILPOET-1207] [MAILPOET-1208] [MAILPOET-1209]
This commit is contained in:
committed by
pavel-mailpoet
parent
0193644b18
commit
dc074bcb14
@@ -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>
|
||||
|
@@ -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>
|
||||
);
|
||||
|
Reference in New Issue
Block a user