Skip to content

Commit

Permalink
Merge pull request #9353 from maximenoel8/rename_warning_error_sign_U…
Browse files Browse the repository at this point in the history
…I_step

Rename step verifying UI after reposync to better reflect the tests.
  • Loading branch information
raulillo82 authored Oct 14, 2024
2 parents 820d131 + 373bb3e commit 42a857b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
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 @@ -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
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

0 comments on commit 42a857b

Please sign in to comment.