Skip to content

Ability to disable headless mode using cli opiton #1128

@DudaGod

Description

@DudaGod

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

  • 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:

<rejected> 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

Metadata

Metadata

Assignees

Type

No type

Projects

Status

In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions