Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use the correct input field when upgrading OS Salt during product migration #9447

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ Feature: Migrate a SLES 15 SP3 Salt SSH minion to 15 SP4
When I follow "Software" in the content area
And I follow "Packages"
And I follow "Upgrade"
And I enter "salt" as the filtered package name
And I enter "salt" as the filtered latest package
And I click on the filter button
And I click on "Select All"
And I click on "Upgrade Packages"
And I click on "Confirm"
Then I should see a "packages upgrades have been scheduled" text
Then I should see a "package upgrades have been scheduled" text
And I wait until event "Package Install/Upgrade scheduled" is completed

Scenario: Migrate this SSH minion to SLE 15 SP4
Expand Down
6 changes: 6 additions & 0 deletions testsuite/features/step_definitions/navigation_steps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -874,6 +874,12 @@
find('input[placeholder=\'Filter by Package Name: \']').set(input)
end

When(/^I enter "([^"]*)" as the filtered latest package$/) do |input|
raise 'Package name is not set' if input.empty?
NamelessOne91 marked this conversation as resolved.
Show resolved Hide resolved

find('input[placeholder=\'Filter by Latest Package: \']').set(input)
end

When(/^I enter "([^"]*)" as the filtered synopsis$/) do |input|
find('input[placeholder=\'Filter by Synopsis: \']').set(input)
end
Expand Down
Loading