[test] Fix flaky DocSearch modal screenshots - #49122
Conversation
In CI, the Open capture sometimes shows the hover state of a link on the start screen. Move the pointer to the top-right corner right after the click that opens the modal. That point is outside the modal at both capture widths, so no hover state gets into a capture. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
The fix is now in #49122, so it can merge before this bump. This restores the test file to its master version. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Deploy previewBundle size
Check out the code infra dashboard for more information about this PR. |
|
Argos marked What happens:
Proposal: give the non-stable React runs their own Argos build name. Argos only compares builds with the same name. - when:
condition:
not:
equal: [stable, << parameters.react-version >>]
steps:
- run:
name: Use a separate Argos build name
# Keeps the React canary runs out of the baseline that PRs compare against.
command: echo 'export ARGOS_BUILD_NAME="$CIRCLE_JOB"' >> "$BASH_ENV"Result: the nightly builds become Questions:
|
The Argos captures of the DocSearch modal sometimes show the hover state of the MUI X "Overview" link on the start screen. The current master baseline of
regression-AppSearch/SearchModalDarkOpen.pnghas it, and so does https://app.argos-ci.com/mui/material-ui/builds/51991/454471015.The test now moves the pointer to the top-right corner right after the click that opens the modal. That point is outside the modal at both capture widths, so no hover state gets into a capture.
Extracted from #48983, so that it can merge before the DocSearch bump.