mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-07 09:08:25 -04:00
Make testing for 'text' value more specific
Just duplicting the 'name' field could produce a false-positive.
This commit is contained in:
@@ -45,7 +45,7 @@ def test_edit_email_branding_shows_the_correct_branding_info(
|
||||
|
||||
assert page.select_one('#logo-img > img')['src'].endswith('/example.png')
|
||||
assert page.select_one('#name').attrs.get('value') == 'Organisation name'
|
||||
assert page.select_one('#text').attrs.get('value') == 'Organisation name'
|
||||
assert page.select_one('#text').attrs.get('value') == 'Organisation text'
|
||||
assert page.select_one('#colour').attrs.get('value') == '#f00'
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user