Skip to content

Commit

Permalink
Update css selector in test because openownership.org has changed
Browse files Browse the repository at this point in the history
  • Loading branch information
Bjwebb committed Feb 5, 2019
1 parent 619133e commit 78c2445
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cove_bods/test_functional.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ def server_url(request, live_server):


@pytest.mark.parametrize(('link_text', 'expected_text', 'css_selector', 'url'), [
('Open Ownership', 'Anonymous shell companies', '.site-text', 'https://openownership.org/'),
('Open Ownership', 'Anonymous shell companies', '.secondary-background', 'https://openownership.org/'),
])
def test_footer_ocds(server_url, browser, link_text, expected_text, css_selector, url):
def test_footer_openownership(server_url, browser, link_text, expected_text, css_selector, url):
browser.get(server_url)
footer = browser.find_element_by_id('footer')
link = footer.find_element_by_link_text(link_text)
Expand Down

0 comments on commit 78c2445

Please sign in to comment.