mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-25 20:18:38 +02:00
Fix test to account for sr-only
This commit is contained in:
parent
92fd84c7d9
commit
1daf97d0d8
1 changed files with 2 additions and 1 deletions
|
@ -69,7 +69,8 @@ class LoggedInTests(TestWithUser):
|
|||
creator=self.user, requested_domain=site
|
||||
)
|
||||
response = self.client.get("/")
|
||||
self.assertContains(response, "igorville.gov", count=1)
|
||||
# count = 2 because it is also in screenreader content
|
||||
self.assertContains(response, "igorville.gov", count=2)
|
||||
# clean up
|
||||
application.delete()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue