Repository navigation
e2e: poll the satellite editor and the tab indicator geometry - #18805
Merged
Merged
Conversation
Two linux CI flakes from the PR #18802 run (34712089464): - spelling_language_switch "rechecks an open detached editor" looked up the satellite's Ace editor right after 'domcontentloaded', which is the popup's initial document -- GWT mounts the editor later. The lookup throws until then, and expect.poll propagates a throw instead of retrying, so the test died ~70ms after the popup opened. Red on desktop-linux since #18766 and now on linux-server too. Poll with toPass so the throw is retried. - highlight_active_tabs read the selected tab's indicator geometry once. Selecting a partly hidden tab animates the strip to reveal it, and DocTabLayoutPanel keeps the clipped (position: absolute) variant until that scroll settles, so a one-shot read could see 'absolute' where the test expects 'fixed'. Poll the geometry until it settles.
kevinushey
temporarily deployed
to
e2e-playwright
September 13, 2026 05:26 — with
GitHub Actions
Inactive
kevinushey
temporarily deployed
to
e2e-playwright
September 13, 2026 05:26 — with
GitHub Actions
Inactive
kevinushey
had a problem deploying
to
e2e-playwright
September 13, 2026 05:29 — with
GitHub Actions
Failure
kevinushey
temporarily deployed
to
e2e-playwright
September 13, 2026 05:29 — with
GitHub Actions
Inactive
kevinushey
temporarily deployed
to
e2e-playwright
September 13, 2026 05:32 — with
GitHub Actions
Inactive
kevinushey
temporarily deployed
to
e2e-playwright
September 13, 2026 05:32 — with
GitHub Actions
Inactive
kevinushey
temporarily deployed
to
e2e-playwright
September 13, 2026 05:39 — with
GitHub Actions
Inactive
kevinushey
temporarily deployed
to
e2e-playwright
September 13, 2026 05:39 — with
GitHub Actions
Inactive
kevinushey
temporarily deployed
to
e2e-playwright
September 13, 2026 05:39 — with
GitHub Actions
Inactive
kevinushey
temporarily deployed
to
e2e-playwright
September 13, 2026 05:39 — with
GitHub Actions
Inactive
kevinushey
temporarily deployed
to
e2e-playwright
September 13, 2026 05:39 — with
GitHub Actions
Inactive
kevinushey
temporarily deployed
to
e2e-playwright
September 13, 2026 05:39 — with
GitHub Actions
Inactive
RStudio E2E - all platforms1 test(s) failed
View / download the full reportView report online -- opens in the browser, no download needed. Available for 14 days. Download playwright-report.zip -- extract and open
All platforms - commit |
kevinushey
deleted the
test/e2e-satellite-editor-and-tab-strip-flakes
branch
September 13, 2026 17:26
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Test-only hardening for the two linux flakes in PR #18802's e2e run (34712089464). Neither is a product regression from that PR: the first predates it and the second is a snapshot read racing a scroll animation.
spelling_language_switch"clearing a project dictionary rechecks an open detached editor"Red on both attempts on linux-desktop (every run since #18766) and, in this run, on linux-server shard 2 as well. The traces show the satellite
pageevent and then, ~70ms later:waitForLoadState('domcontentloaded')is satisfied by the popup's initial document, well before GWT mounts the editor. The marker-based lookup throws until then, andexpect.pollpropagates a throw instead of retrying it (it only re-polls matcher mismatches). Wrapped the check inexpect(async () => ...).toPass()so the throw is retried until the editor is up.highlight_active_tabs"selection preserves tab widths and filename truncation"Flaky on linux-server (passed on retry): the indicator came back
position: absolutewhere the test expectsfixed. The failure screenshot shows the tab strip scrolled.DocTabLayoutPanel.ensureSelectedTabIsVisibleanimates the strip when a partly hidden tab is selected, and the scroll listener keepsdocTabPanelClipped(the absolute variant) on the panel until the tab is fully in view, so a one-shot geometry read can land mid-animation.expectHighlightnow polls the geometry withtoPassuntil it settles; the assertions themselves are unchanged.Verified with
npm run typecheckand both specs on desktop-dev against the worktree'sant draftbuild (14 passed).