Skip to content

Conversation

@DudaGod
Copy link
Member

@DudaGod DudaGod commented Dec 25, 2025

No description provided.

},
"peerDependencies": {
"testplane": ">8.20.0"
"testplane": ">=8.39.0"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe it looks like major change, but without new version of testplane repl mode doesn't work anymore. So I decided to update the dependencies.


private _openReplTerminal(port: string): void {
const handler = (data: Buffer): void => {
if (!data.toString().includes("You have entered to REPL mode via terminal")) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't found another convenient way to wait for the repl to run in the testplane yet. What options have I considered:

  • overwrite switchToRepl command, but this code run in vscode process (not in testplane) it means I should send browser instance by ipc and it doesn't work, because I can't send heavy structure like browser instance. I can use attach, but it also hard to use (I should get all capabilieties and options)
  • waiting for the port to start. The solution is a bit more complicated, but it doesn't rely on testplane logs, which are not a public api and can change at any time

It seems the second option is better than the current solution (parse process stdout). I'll redo it

@DudaGod DudaGod force-pushed the TESTPLANE-739.fix_repl_mode branch from 169b989 to e22794a Compare December 25, 2025 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants