Skip to content

Commit

Permalink
Compare fingerprints
Browse files Browse the repository at this point in the history
  • Loading branch information
cbosdo committed Nov 13, 2024
1 parent 9c2ec3a commit f08525d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion testsuite/features/step_definitions/setup_steps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -199,10 +199,12 @@
system_name = get_system_name(host)
repeat_until_timeout(message: "I can't see the system '#{system_name}'", timeout: seconds.to_i) do
step 'I wait until I do not see "Loading..." text'
break if has_content?(system_name, wait: 3)
return if has_content?(system_name, wait: 3)

refresh_page
end
server.run("salt-key -F")
get_target(host).run("venv-salt-call --local key.finger")
end

When(/^I wait at most (\d+) seconds until onboarding is completed for "([^"]*)"$/) do |seconds, host|
Expand Down

0 comments on commit f08525d

Please sign in to comment.