diff --git a/tests/app/main/views/test_send.py b/tests/app/main/views/test_send.py index e9aeeea04..44607ec11 100644 --- a/tests/app/main/views/test_send.py +++ b/tests/app/main/views/test_send.py @@ -1126,7 +1126,7 @@ def test_send_one_off_or_test_has_correct_page_titles( @pytest.mark.parametrize('endpoint, step_index, prefilled, expected_field_label', [ ( 'main.send_test_step', - 0, + 1, {'phone number': '07900900123'}, 'one', ), @@ -1138,7 +1138,7 @@ def test_send_one_off_or_test_has_correct_page_titles( ), ( 'main.send_test_step', - 1, + 2, {'phone number': '07900900123', 'one': 'foo'}, 'two', ), @@ -1150,7 +1150,7 @@ def test_send_one_off_or_test_has_correct_page_titles( ), ( 'main.send_test_step', - 2, + 3, {'phone number': '07900900123', 'one': 'foo', 'two': 'foo'}, 'three', ), @@ -1809,7 +1809,7 @@ def test_send_test_indicates_optional_address_columns( ) assert normalize_spaces(page.select('label')[0].text) == ( - 'address line 4 ' # step_index is 0-indexed so step 3 is address line 4 + 'address line 3 ' 'Optional' ) assert page.select('.govuk-back-link')[0]['href'] == url_for(