Fix python tests broken by cookie banner

This commit is contained in:
Tom Byers
2019-12-20 13:51:15 +00:00
parent ca019d4a0d
commit 28140104f1
8 changed files with 24 additions and 24 deletions

View File

@@ -508,7 +508,7 @@ def test_should_show_scheduled_job(
template_id='5d729fbd-239c-44ab-b498-75a985f3198f',
version=1,
)
assert page.select_one('button[type=submit]').text.strip() == 'Cancel sending'
assert page.select_one('main button[type=submit]').text.strip() == 'Cancel sending'
def test_should_cancel_job(