diff --git a/testsuite/features/build_validation/reposync/srv_sync_all_products.feature b/testsuite/features/build_validation/reposync/srv_sync_all_products.feature index 8d140db9b84..7b4e6e386ad 100644 --- a/testsuite/features/build_validation/reposync/srv_sync_all_products.feature +++ b/testsuite/features/build_validation/reposync/srv_sync_all_products.feature @@ -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 diff --git a/testsuite/features/reposync/srv_sync_products.feature b/testsuite/features/reposync/srv_sync_products.feature index f4c6c0322ee..b8a9d7617cc 100644 --- a/testsuite/features/reposync/srv_sync_products.feature +++ b/testsuite/features/reposync/srv_sync_products.feature @@ -179,7 +179,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 diff --git a/testsuite/features/step_definitions/navigation_steps.rb b/testsuite/features/step_definitions/navigation_steps.rb index 90887e861fa..28078aab2fd 100644 --- a/testsuite/features/step_definitions/navigation_steps.rb +++ b/testsuite/features/step_definitions/navigation_steps.rb @@ -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\')]')