Skip to content

Commit

Permalink
Attempt to fix flaky CI test.
Browse files Browse the repository at this point in the history
  • Loading branch information
GUI committed Mar 3, 2024
1 parent 339c7c4 commit f75c7e4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/admin_ui/test_roles.rb
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,13 @@ def test_share_roles_between_users_and_apis_forms

find("legend button", :text => /Global Request Settings/).click
find(".selectize-input").click
assert_text("test-new-user-role")
assert_selector(".selectize-dropdown div", :text => "test-new-user-role")

find("legend button", :text => /Sub-URL Request Settings/).click
refute_selector(".selectize-dropdown div", :text => "test-new-user-role")
find("button", :text => /Add URL Settings/).click
find(".modal-content .selectize-input").click
assert_text("test-new-user-role")
assert_selector(".selectize-dropdown div", :text => "test-new-user-role")
end

def test_removes_user_roles
Expand Down

0 comments on commit f75c7e4

Please sign in to comment.