Make testing for 'text' value more specific

Just duplicting the 'name' field could produce a
false-positive.
This commit is contained in:
Tom Byers
2018-08-14 15:59:02 +01:00
parent dcb9973f76
commit 6375a1ac5e
2 changed files with 2 additions and 2 deletions

View File

@@ -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'