Skip to content

e2e: git_diff_gutter folded-change action bar test fails on all desktop platforms #19436

Description

@gtritchie

The e2e test git_diff_gutter.test.ts:3912, "keeps the action bar of a folded change when wrapping pads at the fold", fails on every desktop platform. It was added in #19350.

Failure

Every failure is a timeout at the same assertion. The check runs after line 1's function is folded and soft wrap is turned on:

Error: Timeout 10000ms exceeded while waiting on the predicate

> 3977 |         await expect.poll(barInView, { timeout: 10000 }).toBe(true);

barInView checks that the .ace_git-peek-compact action bar sits inside the live editor's scroller.

Where it fails

The scheduled run tested 2026.12.0-daily+40. That build comes from a9a387f69f, the same commit the tests were checked out at, so this is not a stale-daily mismatch.

On Ubuntu 24 arm64, the first try failed at line 3977. The retry failed earlier, at :934 in "does not toggle a fold when the marker of a foldable line is clicked" (getFoldCount() was 0, expected 1). That is probably a knock-on from re-running the group, not a separate problem.

The roughly 50 "flaky" results per platform come from the same failure. The Git diff markers in the editor gutter describe block runs serially, so one failure re-runs the whole block, and every test that passes on the retry is counted as flaky.

Open question

It isn't yet known whether the IDE has a bug (the action bar leaves the view when the function is folded and soft wrap is on) or the test's expectation is wrong. The failed jobs upload traces and screenshots (test-results/panes-editor-git_diff_gutt-ecd69-n-wrapping-pads-at-the-fold-*), which should show which.

Metadata

Metadata

Assignees

Type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions