test: add integration tests for --help and --version#311
Closed
manimovassagh wants to merge 1 commit intomicrosoft:mainfrom
Closed
test: add integration tests for --help and --version#311manimovassagh wants to merge 1 commit intomicrosoft:mainfrom
manimovassagh wants to merge 1 commit intomicrosoft:mainfrom
Conversation
The test suite only covered `open` + `delete-data`. This adds coverage for basic CLI flags that don't require a browser session.
49fc3bd to
12b9e7e
Compare
yury-s
reviewed
Mar 21, 2026
Member
yury-s
left a comment
There was a problem hiding this comment.
There is already a bunch of cli tests including those that cover help, e.g. tests/mcp/cli-help.spec.ts
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.
The test suite currently only covers
open+delete-data. This adds two more integration tests for basic CLI flags:--help— verifies the help output includes expected commands (open, snapshot, close)--version— verifies a version string is printedBoth use the existing
runCli()helper and don't require a browser session, so they're fast and lightweight.