mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-11 09:28:27 -04:00
Merge pull request #3149 from alphagov/resize-all-textbox-dem
Let textareas resize automatically without having to highlight placeholders
This commit is contained in:
@@ -346,6 +346,8 @@ def test_should_show_page_for_one_template(
|
||||
assert "Template <em>content</em> with & entity" in str(
|
||||
page.select_one('textarea')
|
||||
)
|
||||
assert page.select_one('textarea')['data-module'] == 'enhanced-textbox'
|
||||
assert page.select_one('textarea')['data-highlight-placeholders'] == 'true'
|
||||
assert "priority" not in str(page.select_one('main'))
|
||||
mock_get_service_template.assert_called_with(SERVICE_ONE_ID, template_id, None)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user