Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Multiple failures from Travis on build PRESTASHOP_TEST_TYPE=e2e EXTRA_TESTS=functional #14384
We have a insane number of CI builds failing because of a random occurrence of a test failure:
@Quetzacoalt91 already checked in localhost, test pass. And re-running the build often fixes the issue.
We need to fix it.
Here are additional details:
We often see that the selenium tests fail for the same reason. The modal after clicking on "Add to cart" is never displayed. Here is the screenshot taken on Travis when the error occurs:
This is not caused by an exception as we may think, but a product with customizable data. It has been altered by the script
However, it appears that during the test, we sometime don't select the proper product. Although tyhe selector is correct. Maybe the products are filtered during a few milliseconds which makes the click incorrect?