Skip to content

Commit

Permalink
Refs #37443 - find the right Edit button on the host details page
Browse files Browse the repository at this point in the history
Fixes: 37093a5
  • Loading branch information
evgeni authored and MariaAga committed Aug 30, 2024
1 parent fd21a88 commit 50ce6f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/host_js_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class HostJSTest < IntegrationTestWithJavascript

test "edit page" do
visit host_details_page_path(@host)
click_button 'Edit'
find('.host-details-header-section').find_button('Edit').click # the Edit button for the host details, not the host comment
assert @host.hostname.start_with? page.find('#host_name').value
end

Expand Down

0 comments on commit 50ce6f1

Please sign in to comment.