Skip to content

Commit

Permalink
Change path
Browse files Browse the repository at this point in the history
  • Loading branch information
maximenoel8 committed Nov 13, 2024
1 parent 2a6b241 commit d91290c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions testsuite/features/step_definitions/navigation_steps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -804,8 +804,7 @@
end

Then(/^I should only see success signs in the product list$/) do
# Wait up for the element with class 'fa-check-circle' to be visible
unless page.has_xpath?('//*[contains(@class, \'fa-check-circle\')]', wait: Capybara.default_max_wait_time)
unless page.has_xpath?('//span[contains(@class, \'text-success\')]', wait: Capybara.default_max_wait_time)
raise ScriptError, 'No product synchronized'
end
raise ScriptError, 'At least one product is not fully synchronized' if page.has_xpath?('//*[contains(@class, \'fa-spinner\')]')
Expand Down

0 comments on commit d91290c

Please sign in to comment.