Skip to content

Commit ac355c4

Browse files
authored
[Fix] The test for the expected error message to be shown to the user (#1074)
Verify Automatically Detects a Group Selected Is Removed and Notify the User The error message is now changed so it matches reality brought in by [1] [1] opendatahub-io/odh-dashboard#270
1 parent 6f9bed7 commit ac355c4

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

ods_ci/tests/Tests/400__ods_dashboard/413__ods_dashboard_user_mgmt.robot

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,15 @@ Verify Automatically Detects a Group Selected Is Removed and Notify the User
7979
[Tags] ODS-1686
8080
... Tier1
8181
... Sanity
82-
Create Group new-group-test
82+
${new_group_name}= Set Variable new-group-test
83+
Create Group ${new_group_name}
8384
Launch Dashboard And Check User Management Option Is Available For The User ${TEST_USER.USERNAME} ${TEST_USER.PASSWORD} ${TEST_USER.AUTH_TYPE}
84-
Add OpenShift Groups To Data Science Administrators new-group-test
85+
Add OpenShift Groups To Data Science Administrators ${new_group_name}
8586
Save Changes In User Management Setting
86-
Delete Group new-group-test
87+
Delete Group ${new_group_name}
8788
Reload Page
88-
Wait Until Page Contains Group no longer exist timeout=20s
89+
Wait Until Page Contains Group error timeout=20s
90+
Wait Until Page Contains The group ${new_group_name} no longer exists timeout=20s
8991

9092

9193
*** Keywords ***

0 commit comments

Comments
 (0)