Update buttons on api key pages to govuk-frontend buttons

This commit is contained in:
Katie Smith
2020-02-06 14:47:47 +00:00
parent 485d25b120
commit 0d0b71af63
6 changed files with 19 additions and 20 deletions

View File

@@ -269,7 +269,7 @@ def test_should_create_api_key_with_type_normal(
_expected_status=200,
)
assert page.select_one('span.api-key-key').text.strip() == (
assert page.select_one('span.api-key__key').text.strip() == (
'some_default_key_name_12-{}-{}'.format(SERVICE_ONE_ID, fake_uuid)
)

View File

@@ -686,7 +686,7 @@ def test_should_show_template_id_on_template_page(
template_id=fake_uuid,
_test_page_title=False,
)
assert page.select('.api-key-key')[0].text == fake_uuid
assert page.select('.api-key__key')[0].text == fake_uuid
def test_should_show_sms_template_with_downgraded_unicode_characters(