Skip to content

Refactor CLI options to allow configuring quarantine #6231

@AndreyBelym

Description

@AndreyBelym

Before, --quarantine-mode was a boolean switch. That allowed using it like testcafe -q chrome test.js

If we allow optional parameters for it, (-q opt=value), the parser cannot deduct that chrome or test.js are not an input for this property

So we should use the dedicated --quarantine-options retryCount=X,passCount=Y switch.
UPDATE: We decided to fix the original case without adding the --quarantine-options option.

Options:

Assignee: @Farfurix

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions