Skip to main content

CliOverrides

Struct CliOverrides 

Source
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_tags: Option<String>§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

Source§

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)

Performs copy-assignment from source. Read more
Source§

impl Debug for CliOverrides

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Default for CliOverrides

Source§

fn default() -> CliOverrides

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> FromRef<T> for T
where T: Clone,

Source§

fn from_ref(input: &T) -> T

Converts to this type from a reference to the input type.
Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<A, B, T> HttpServerConnExec<A, B> for T
where B: Body,