mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 14:29:51 -04:00
Fix python tests broken by cookie banner
This commit is contained in:
@@ -22,7 +22,7 @@ def test_should_return_verify_template(
|
||||
|
||||
page = BeautifulSoup(response.data.decode('utf-8'), 'html.parser')
|
||||
assert page.h1.text == 'Check your phone'
|
||||
message = page.find_all('p')[1].text
|
||||
message = page.select('main p')[0].text
|
||||
assert message == "We’ve sent you a text message with a security code."
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user