Add acceptance test for form with columns
[MAILPOET-2609]
This commit is contained in:
committed by
Pavel Dohnal
parent
d9d1f05119
commit
564c61a82b
@ -16,7 +16,10 @@ class Text {
|
||||
$automationId = ' ';
|
||||
if ($block['id'] === 'email') {
|
||||
$type = 'email';
|
||||
$automationId = 'data-automation-id="form_email" ';
|
||||
}
|
||||
|
||||
if (in_array($block['id'], ['email', 'last_name', 'first_name'], true)) {
|
||||
$automationId = 'data-automation-id="form_' . $block['id'] . '" ';
|
||||
}
|
||||
|
||||
$html = '<div class="mailpoet_paragraph">';
|
||||
|
Reference in New Issue
Block a user