Revert "Add GOVUK Frontend details component"

This commit is contained in:
Tom Byers
2019-12-16 16:20:03 +00:00
committed by GitHub
parent 60fe9d3400
commit de6281bc0e
10 changed files with 269 additions and 115 deletions

View File

@@ -37,7 +37,7 @@ def test_should_show_api_page(
rows = page.find_all('details')
assert len(rows) == 5
for row in rows:
assert row.select('h3 .govuk-details__summary-text')[0].string.strip() == '07123456789'
assert row.find('h3').string.strip() == '07123456789'
def test_should_show_api_page_with_lots_of_notifications(