Update form tests to have front end checks [MAILPOET-3334]

[MAILPOET-3334](https://mailpoet.atlassian.net/browse/MAILPOET-3334)
This commit is contained in:
Veljko V
2020-12-02 17:19:15 +01:00
parent f3df805bb3
commit 7d88f3eaea
11 changed files with 118 additions and 51 deletions

View File

@ -35,7 +35,7 @@ class Textarea {
$lines = (isset($block['params']['lines']) ? (int)$block['params']['lines'] : 1);
$html .= $this->inputStylesRenderer->renderPlaceholderStyles($block, 'textarea[name="data[' . $name . ']"]');
$html .= '<textarea class="mailpoet_textarea" rows="' . $lines . '" ';
$html .= '<textarea class="mailpoet_textarea" data-automation-id="form_custom_text_area" rows="' . $lines . '" ';
$html .= 'name="data[' . $name . ']"';