Skip to content

Commit 763114b

Browse files
tests all working
1 parent 7da1115 commit 763114b

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

features/steps/cpts_ui/select_your_role_steps.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,6 @@ def i_have_selected_role(context):
1919
select_your_role_page.first_role_card.click()
2020

2121

22-
@given("I am logged in as a user with a pre selected role")
23-
def i_have_a_pre_selected_role(context):
24-
context.execute_steps("given I go to the select your role page")
25-
26-
2722
@then("I can see the summary container")
2823
def i_can_see_the_summary_container(context):
2924
select_your_role_page = SelectYourRole(context.page)
@@ -109,10 +104,10 @@ def i_can_see_the_no_access_table_body_data(context):
109104
expect(select_your_role_page.first_row_role_name_no_access).to_be_visible()
110105

111106

112-
@then("Then I can see the role that has been pre-selected")
107+
@then("I can see the role that has been pre selected")
113108
def i_see_logged_in_message(context):
114109
select_your_role_page = SelectYourRole(context.page)
115110
pre_selected_element = select_your_role_page.page.get_by_test_id(
116-
"eps_select_your_role_pre_role_selected_information"
111+
"eps_select_your_role_pre_role_selected"
117112
)
118113
expect(pre_selected_element).to_be_visible()

0 commit comments

Comments
 (0)