Skip to content

Fix acceptance test failures for procedures map

Rafael Reggiani Manzo requested to merge fix_random_cucumber_failures_final into master

We are seeing CI failures that pass on retry. For example: https://gitlab.com/interscity/health-dashboard/internasus/-/jobs/441985362.

As those errors are related to not finding elements that are conatined within a accordion, I'm supposing the error is due to the accordion opening but the animation taking too long. By disabling the transition I hope to fix this issue.

Important links on how to disable the transition:

I also want to say this is a whole new type of beast for me after years working with unexplicably failling cucumber tests on CI. Previous to the I have tried:

  • Increasing Capybara.default_max_wait_time
  • Adding explicit sleep statements between steps
  • Specifying the browser windoe size
  • Upgrading Ruby and gem dependencies

This was hard battle.

Merge request reports