Skip to content

Draft: E2E tests: refresh on diffs page of MR

Jay McCure requested to merge jmc-refresh-diffs-tab into master

What does this MR do and why?

Since diffs are now being loaded async the E2E tests in the master pipeline seem to be navigating to the Changes tab before they are available. This causes a 404 and a never ending spinner on the page, then the tests fail. #396649 (closed)

This MR waits for the file tree icon to be available in the Changes tab and refreshes the page if not. This ensures that the diff is available.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

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