mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-17 04:59:37 -04:00
* - Change content - Edit the homepage images #521 - Remove account creation option - Remove navigation - Remove links to Notify docs in footer * Updated alt text, jinja comment consistency for the footer
This commit is contained in:
@@ -379,20 +379,21 @@ def test_a_page_should_nave_selected_navigation_item(
|
||||
assert len(selected_nav_items) == 1
|
||||
assert selected_nav_items[0].text.strip() == selected_nav_item
|
||||
|
||||
# Hiding nav for the pilot, will uncomment after
|
||||
|
||||
@pytest.mark.parametrize('endpoint, selected_nav_item', [
|
||||
# ('main.documentation', 'Documentation'),
|
||||
('main.support', 'Contact us'),
|
||||
])
|
||||
def test_a_page_should_nave_selected_header_navigation_item(
|
||||
client_request,
|
||||
endpoint,
|
||||
selected_nav_item,
|
||||
):
|
||||
page = client_request.get(endpoint, service_id=SERVICE_ONE_ID)
|
||||
selected_nav_items = page.select('nav.usa-nav a.usa-nav__link.usa-current')
|
||||
assert len(selected_nav_items) == 1
|
||||
assert selected_nav_items[0].text.strip() == selected_nav_item
|
||||
# @pytest.mark.parametrize('endpoint, selected_nav_item', [
|
||||
# # ('main.documentation', 'Documentation'),
|
||||
# ('main.support', 'Contact us'),
|
||||
# ])
|
||||
# def test_a_page_should_nave_selected_header_navigation_item(
|
||||
# client_request,
|
||||
# endpoint,
|
||||
# selected_nav_item,
|
||||
# ):
|
||||
# page = client_request.get(endpoint, service_id=SERVICE_ONE_ID)
|
||||
# selected_nav_items = page.select('nav.usa-nav a.usa-nav__link.usa-current')
|
||||
# assert len(selected_nav_items) == 1
|
||||
# assert selected_nav_items[0].text.strip() == selected_nav_item
|
||||
|
||||
|
||||
@pytest.mark.parametrize('endpoint, selected_nav_item', [
|
||||
|
||||
Reference in New Issue
Block a user