Skip to content

Commit

Permalink
PC-1364: Update tests with new copy
Browse files Browse the repository at this point in the history
  • Loading branch information
Glenn-Clarke committed Nov 13, 2024
1 parent 24ffbff commit 5210d8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_frontdoor.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def _answer_house_questions(
page = _check_page(page, "loft-access", "loft_access", "Yes, there is access to my loft")

assert page.has_one("h1:contains('How much loft insulation do you have?')")
page = _check_page(page, "loft-insulation", "loft_insulation", "I have up to 100mm of loft insulation")
page = _check_page(page, "loft-insulation", "loft_insulation", "I have less than or equal to 100mm of loft insulation")
else:
page = _check_page(
page, "loft", "loft", "No, I do not have a loft or my loft has been converted into a room"
Expand Down Expand Up @@ -875,7 +875,7 @@ def test_epc_lookup_failure():
page = _check_page(page, "loft-access", "loft_access", "Yes, there is access to my loft")

assert page.has_one("h1:contains('How much loft insulation do you have?')")
page = _check_page(page, "loft-insulation", "loft_insulation", "I have up to 100mm of loft insulation")
page = _check_page(page, "loft-insulation", "loft_insulation", "I have less than or equal to 100mm of loft insulation")

assert page.has_one("h1:contains('Check your answers')")
form = page.get_form()
Expand Down

0 comments on commit 5210d8b

Please sign in to comment.