Skip to content

Commit

Permalink
properly wait for the host page to render before editing again
Browse files Browse the repository at this point in the history
Fixes: fe5c585
  • Loading branch information
evgeni committed Aug 30, 2024
1 parent cc47aba commit d987986
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/integration/host_js_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,7 @@ class HostJSTest < IntegrationTestWithJavascript
page.find(id).click
assert page.has_no_selector?(id)
click_button('Submit')
find('h5', :text => host.fqdn) # wait for the host page to load

visit edit_host_path(host)
switch_form_tab('Parameters')
Expand Down

0 comments on commit d987986

Please sign in to comment.