Repository navigation
port debugger BRAT tests (4 of 8) to Playwright - #17710
Merged
Merged
Conversation
Adds tests/panes/debugger/debugger_extras.test.ts covering the four gaps
the migration plan called out:
- multi-line input at the Browse[N]> prompt preserves browser state
(.rs.isBrowserActive() / rs_getBrowserEnv -- the fix to not call
setBrowserActive(false) on every continuation prompt)
- clicking a gutter breakpoint marker toggles it off (#9450)
- Clear All Breakpoints (#9450, @server_only -- Desktop's confirm is a
native Electron messagebox Playwright can't drive)
- breakpoints fire inside S7 method definitions for S3 generics
(#16490) -- S7 installed on demand via ensurePackages
Multi-line submission at Browse[N]> uses keyboard.insertText (CDP-level
raw insert) so R sees one input and emits continuation prompts -- the
regression's whole point. A helper walks through any nested debug step
that R drops into mid-parse before checking for the DBG marker.
The four BRAT tests now covered by the existing debugger.test.ts
(braced-expression breakpoint #15072, top-level-breakpoint UI #17481,
gutter toggle, etc.) are removed. The two package-build tests (#15201
and the #9450 package-rebuild half) stay in BRAT -- a full devtools
build cycle doesn't fit the Playwright fixture model.
Contributor
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
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.
Summary
Adds `tests/panes/debugger/debugger_extras.test.ts` covering the four gaps the migration plan called out:
Removes the BRAT tests that are already covered by the existing `debugger.test.ts` (braced-expression breakpoint #15072, top-level-breakpoint UI #17481, gutter toggle, etc.). The two package-build tests (#15201 and the #9450 package-rebuild half) stay in BRAT -- a full devtools build cycle (~minutes) doesn't fit the Playwright fixture model and the existing Playwright suite already covers the core stepping/breakpoint paths.
Test plan