Use data attributes as selector in test

[MAILPOET-1970]
This commit is contained in:
Ján Mikláš
2019-04-11 11:25:49 +02:00
committed by M. Shull
parent 814fc7c078
commit 667f1d6e41
2 changed files with 10 additions and 4 deletions

View File

@@ -169,10 +169,16 @@
<%= __("Gmail, Yahoo and other email providers will treat your emails like spam if your subscribers don't open your emails in the long run. This option will mark your subscribers as Inactive and MailPoet will stop sending to them.") %>
</p>
</th>
<td class="mailpoet_inactive_subscribers_disabled<% if (settings.tracking.enabled) %> mailpoet_hidden<% endif %>">
<td
class="mailpoet_inactive_subscribers_disabled<% if (settings.tracking.enabled) %> mailpoet_hidden<% endif %>"
data-automation-id="inactive-subscribers-disabled"
>
<p><i><%= __('This option is disabled because tracking is disabled.') %></i></p>
</td>
<td class="mailpoet_inactive_subscribers_enabled<% if not(settings.tracking.enabled) %> mailpoet_hidden<% endif %>">
<td
class="mailpoet_inactive_subscribers_enabled<% if not(settings.tracking.enabled) %> mailpoet_hidden<% endif %>"
data-automation-id="inactive-subscribers-enabled"
>
<p>
<label>
<input