pub struct CliOverrides {Show 59 fields
pub workers: Option<u32>,
pub retries: Option<u32>,
pub timeout: Option<u64>,
pub reporter: Vec<String>,
pub grep: Option<String>,
pub grep_invert: Option<String>,
pub tag: Option<String>,
pub headless: bool,
pub shard: Option<ShardArg>,
pub config_path: Option<String>,
pub output_dir: Option<String>,
pub test_files: Vec<String>,
pub test_match: Option<Vec<String>>,
pub list_only: bool,
pub update_snapshots: Option<UpdateSnapshotsMode>,
pub profile: Option<String>,
pub forbid_only: bool,
pub last_failed: bool,
pub video: Option<String>,
pub trace: Option<String>,
pub storage_state: Option<String>,
pub max_failures: Option<u32>,
pub repeat_each: Option<u32>,
pub fail_fast: bool,
pub global_timeout: Option<u64>,
pub ignore_snapshots: bool,
pub pass_with_no_tests: bool,
pub tsconfig: Option<String>,
pub name: Option<String>,
pub fully_parallel: Option<bool>,
pub project_filter: Vec<String>,
pub no_deps: bool,
pub teardown: Option<String>,
pub only_changed: Option<String>,
pub fail_on_flaky_tests: bool,
pub browser: Option<String>,
pub backend: Option<String>,
pub channel: Option<String>,
pub executable_path: Option<String>,
pub browser_args: Vec<String>,
pub base_url: Option<String>,
pub viewport_width: Option<i64>,
pub viewport_height: Option<i64>,
pub is_mobile: Option<bool>,
pub has_touch: Option<bool>,
pub color_scheme: Option<String>,
pub locale: Option<String>,
pub offline: Option<bool>,
pub bypass_csp: Option<bool>,
pub bdd_tags: Option<String>,
pub bdd_dry_run: bool,
pub bdd_strict: bool,
pub bdd_fail_fast: bool,
pub bdd_step_timeout: Option<u64>,
pub bdd_order: Option<String>,
pub bdd_language: Option<String>,
pub bdd_steps: Vec<String>,
pub extensions: Vec<String>,
pub world_parameters: Option<String>,
}Expand description
CLI overrides that take highest priority.
Fields§
§workers: Option<u32>§retries: Option<u32>§timeout: Option<u64>§reporter: Vec<String>§grep: Option<String>§grep_invert: Option<String>§tag: Option<String>§headless: bool--headless: force headless mode regardless of config. Default config
runs headed, so this is the only direction the CLI flag goes.
shard: Option<ShardArg>§config_path: Option<String>§output_dir: Option<String>§test_files: Vec<String>§test_match: Option<Vec<String>>§list_only: bool§update_snapshots: Option<UpdateSnapshotsMode>§profile: Option<String>§forbid_only: bool§last_failed: bool§video: Option<String>§trace: Option<String>§storage_state: Option<String>§max_failures: Option<u32>§repeat_each: Option<u32>§fail_fast: bool§global_timeout: Option<u64>§ignore_snapshots: bool§pass_with_no_tests: bool§tsconfig: Option<String>§name: Option<String>§fully_parallel: Option<bool>§project_filter: Vec<String>§no_deps: bool§teardown: Option<String>§only_changed: Option<String>§fail_on_flaky_tests: bool§browser: Option<String>§backend: Option<String>§channel: Option<String>§executable_path: Option<String>§browser_args: Vec<String>§base_url: Option<String>§viewport_width: Option<i64>§viewport_height: Option<i64>§is_mobile: Option<bool>§has_touch: Option<bool>§color_scheme: Option<String>§locale: Option<String>§offline: Option<bool>§bypass_csp: Option<bool>§bdd_dry_run: bool§bdd_strict: bool§bdd_fail_fast: bool§bdd_step_timeout: Option<u64>§bdd_order: Option<String>§bdd_language: Option<String>§bdd_steps: Vec<String>JavaScript step-definition file globs (overrides [test].steps).
extensions: Vec<String>Top-level extensions paths (files or dirs). Their Given/When/Then
step definitions are bundled alongside bdd_steps so one extension
can serve both the MCP server (defineTool) and the test runner.
world_parameters: Option<String>--world-parameters <JSON>: overrides [test].worldParameters;
parsed and exposed to scenarios as this.parameters.
Trait Implementations§
Source§impl Clone for CliOverrides
impl Clone for CliOverrides
Source§fn clone(&self) -> CliOverrides
fn clone(&self) -> CliOverrides
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CliOverrides
impl Debug for CliOverrides
Source§impl Default for CliOverrides
impl Default for CliOverrides
Source§fn default() -> CliOverrides
fn default() -> CliOverrides
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CliOverrides
impl RefUnwindSafe for CliOverrides
impl Send for CliOverrides
impl Sync for CliOverrides
impl Unpin for CliOverrides
impl UnsafeUnpin for CliOverrides
impl UnwindSafe for CliOverrides
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more