rename api key component to copy_to_clipboard

does what it says on the tin, and is also consistent with prior art:
https://components.publishing.service.gov.uk/component-guide/copy_to_clipboard
This commit is contained in:
Leo Hemsted
2021-09-08 10:18:17 +01:00
parent 4921e6d46e
commit 85f6881a56
14 changed files with 100 additions and 100 deletions
+2 -2
View File
@@ -975,7 +975,7 @@ def test_should_show_template_id_on_template_page(
template_id=fake_uuid,
_test_page_title=False,
)
assert fake_uuid in page.select('.api-key__key')[0].text
assert fake_uuid in page.select('.copy-to-clipboard__value')[0].text
def test_should_hide_template_id_for_broadcast_templates(
@@ -990,7 +990,7 @@ def test_should_hide_template_id_for_broadcast_templates(
template_id=fake_uuid,
_test_page_title=False,
)
assert not page.select('.api-key__key')
assert not page.select('.copy-to-clipboard__value')
def test_should_show_sms_template_with_downgraded_unicode_characters(