Make dashboard test more specific

It was picking up the 'Get started' text from the
new link in the footer.
This commit is contained in:
Tom Byers
2019-12-31 10:29:56 +00:00
parent 0375af3441
commit 59e40d4c3c

View File

@@ -181,7 +181,7 @@ def test_get_started_is_hidden_once_templates_exist(
)
mock_get_service_templates.assert_called_once_with(SERVICE_ONE_ID)
assert 'Get started' not in page.text
assert not page.find('h2', string='Get started')
def test_inbound_messages_not_visible_to_service_without_permissions(