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

Rename step verifying UI after reposync to better reflect the tests. #9353

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
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 @@ -820,4 +820,4 @@ Feature: Synchronize products in the products page of the Setup Wizard
When I follow the left menu "Admin > Setup Wizard > Products"
And I wait until I do not see "Loading" text
Then I should not see a "Operation not successful" text
And I should not see a warning nor an error sign
And I should only see success signs in the product list
2 changes: 1 addition & 1 deletion testsuite/features/reposync/srv_sync_products.feature
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ Feature: Synchronize products in the products page of the Setup Wizard
When I follow the left menu "Admin > Setup Wizard > Products"
And I wait until I do not see "Loading" text
Then I should not see a "Operation not successful" text
And I should not see a warning nor an error sign
And I should only see success signs in the product list

@scc_credentials
Scenario: Trigger a refresh of the products synched from SCC
Expand Down
2 changes: 1 addition & 1 deletion testsuite/features/step_definitions/navigation_steps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,7 @@
end
end

Then(/^I should not see a warning nor an error sign$/) do
Then(/^I should only see success signs in the product list$/) do
raise ScriptError, 'No product synchronized' if page.has_no_xpath?('//*[contains(@class, \'fa-check-circle\')]')
raise ScriptError, 'At least one product is not fully synchronized' if page.has_xpath?('//*[contains(@class, \'fa-spinner\')]')
raise ScriptError, 'Warning detected' if page.has_xpath?('//*[contains(@class, \'fa-exclamation-triangle\')]')
Expand Down
Loading