gemini-testing / gemini-testing/testplane
Ability to disable headless mode using cli opiton
- Dominant language
- TypeScript
- Stars
- 830
- Forks
- 76
- Avg merge
- 4d 10h
- Merged PRs (30d)
- 14
Description
### Description
In a project created with `npm init testplane@latest` headless mode is enabled by default. If the user wants to turn it off for one run, then he must use the option `--healdess=false` or `--headless=0` or `--headless=no`. But it doesn't work. It is necessary to support this opportunity.
### Verify latest release
- [x] I verified that the issue exists in the latest Testplane release
### Testplane version
_No response_
### Last Testplane version that worked
_No response_
### Which area(s) of Testplane are affected? (leave empty if unsure)
CLI
### Link to the code that reproduces this issue or a replay of the bug
_No response_
### Reproduction steps
- npm init testplane@latest (in some test folder)
- npx testplane --headless=false
### Actual Behavior
Get an error like:
```
Error: "headless" option should be "new" or "old", but got "false"
// ...
```
### Expected Behavior
Headless mode is disabled.
### Which Node.js version are you using?
v18.12.1
Contributor guide
Assessment
This issue has not been assessed yet.