mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 15:57:23 -04:00
Use new ‘add’ buttons on branding management pages
‘Add’ buttons are generally: - at the bottom of the page - sticky - grey
This commit is contained in:
@@ -33,7 +33,7 @@ def test_email_branding_page_shows_full_branding_list(
|
||||
page.select_one('h1').text
|
||||
) == "Email branding"
|
||||
|
||||
assert page.select_one('.column-three-quarters a')['href'] == url_for('main.create_email_branding')
|
||||
assert page.select('.column-three-quarters a')[-1]['href'] == url_for('main.create_email_branding')
|
||||
|
||||
assert brand_names == [
|
||||
'org 1',
|
||||
|
||||
@@ -33,7 +33,7 @@ def test_letter_branding_page_shows_full_branding_list(
|
||||
page.select_one('h1').text
|
||||
) == "Letter branding"
|
||||
|
||||
assert page.select_one('.column-three-quarters a')['href'] == url_for('main.create_letter_branding')
|
||||
assert page.select('.column-three-quarters a')[-1]['href'] == url_for('main.create_letter_branding')
|
||||
|
||||
assert brand_names == [
|
||||
'HM Government',
|
||||
|
||||
Reference in New Issue
Block a user