Skip to content

MR E2E test: reload page when revert button fails

Jay McCure requested to merge jmc-reload-revert-e2e-test into master

What does this MR do and why?

This MR reloads the MR page when the revert button doesn't bring up the revert modal within 60 seconds.

Currently the test retries without a page load which doesn't help, see: https://gitlab.com/gitlab-org/gitlab/-/jobs/3501980006#L233

This is to workaround a transient bug that only occurs rarely and in an automated test environment with large MRs. Since the bug only occurs under these conditions it is unlikely to be prioritised to be fixed. #386623 (closed)

The test is otherwise reliable, this issue only occurs in the ee:large-setup job intermittently.

How to set up and validate locally

bundle exec rspec qa/specs/features/browser_ui/3_create/merge_request/revert/reverting_merge_request_spec.rb

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Jay McCure

Merge request reports

Loading