Skip to content

Commit

Permalink
Make sure the product page is loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
maximenoel8 committed Oct 7, 2024
1 parent ad9872c commit 9c94335
Showing 1 changed file with 1 addition and 1 deletion.
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 @@ -800,7 +800,7 @@
end

Then(/^I should not see a warning nor an error sign$/) do
raise ScriptError, 'No products synchronized' if page.has_no_xpath?('//*[contains(@class, \'fa-check-circle\')]')
raise ScriptError, 'No product synchronized' if page.has_no_xpath?('//*[contains(@class, \'fa-check-circle\')]')
raise ScriptError, 'Warning detected' if page.has_xpath?('//*[contains(@class, \'fa-exclamation-triangle\')]')
raise ScriptError, 'Error detected' if page.has_xpath?('//*[contains(@class, \'fa-exclamation-circle\')]')
end
Expand Down

0 comments on commit 9c94335

Please sign in to comment.