Repository navigation
re-enable the View() close/open race playwright test - #18035
Merged
Merged
Conversation
Completes #18030: lib.dir and node.dir gained a ${git.main.worktree} fallback so a fresh git worktree can borrow the primary checkout's gitignored deps, but panmirror.dir did not. Add the same fallback so 'ant draft' (and the cmake-driven GWT build) work in a secondary worktree instead of failing with '${panmirror.dir} does not exist'.
The View()/documentCloseAllNoSave variant of the source-pane open-during-close race (#17738) was left as test.fixme when #17740 landed, because the data viewer iframe failed to finish loading even with the WindowFrame HIDE-state recovery. The data-viewer mount path has since been reworked and the race no longer reproduces -- the test passes reliably (20/20 stress runs on macOS desktop).
🍎 macOS Desktop E2E · ARM64✅ All tests passed!
📥 Download Playwright report⬇️ playwright-report.zip — extract and open
2 shards · macos-26 ARM64 · commit |
🪟 Windows Desktop E2E · Server 2025 x64✅ All tests passed!
📥 Download Playwright report⬇️ playwright-report.zip — extract and open
2 shards · Windows Server 2025 x64 · commit |
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.
Intent
Addresses #17738.
Re-enables the
View()variant of the source-pane open-during-close race test, and fixes a build-tooling gap that blocked GWT builds in secondary git worktrees.Summary
Re-enable the test (
close_open_race.test.ts): theView()/documentCloseAllNoSavevariant exercises the same race as thefile.edittest, but throughSource.onShowData(the data viewer iframe) instead ofonFileEdit. It was left astest.fixmewhen bugfix: file.edit during in-flight closeAllSourceDocs silently dropped #17740 landed, because at that time the data viewer iframe still failed to finish loading even with theWindowFrame.onEnsureVisibleHIDE-state recovery. The data-viewer mount path has since been reworked and the race no longer reproduces -- the test now passes reliably (20/20 in a--repeat-each=10stress run on macOS Desktop, alongside the existingfile.edittest).src/gwt/build.xmlpanmirror fallback: make builds resolve gitignored deps from the primary git worktree #18030 gavelib.dirandnode.dira${git.main.worktree}fallback so a fresh worktree can borrow the primary checkout's gitignored dependencies, butpanmirror.dirwas missed. Without it,ant draftin a secondary worktree fails with${panmirror.dir} does not exist. This adds the same fallback (additive; the local./lib/...path still wins when present, so primary/CI builds are unaffected). This was a prerequisite for building and running the test above in a worktree.Test plan
ant draftsucceeds in a secondary worktree (previously failed onpanmirror.dir).npm run test:desktop-dev -- tests/panes/editor/close_open_race.test.ts-- both tests pass.--repeat-each=10-- 20/20 passed, no flakes.