TestContext
Namespace: E2E
public sealed class TestContextThe fixtures for one test. Call String) before the first step when a precondition is missing.
Inheritance: object
Properties
Section titled “Properties”public required Agent Agent { get; init; }Value: Agent
public required App App { get; init; }Value: App
Browser
Section titled “Browser”public required Browser Browser { get; init; }The browser fixture. Its members fail with UNSUPPORTED_CAPABILITY on an engine without a browser.
Value: Browser
CancellationToken
Section titled “CancellationToken”public CancellationToken CancellationToken { get; init; }Value: CancellationToken
Platform
Section titled “Platform”public required string Platform { get; init; }The engine platform, such as web or document.
Value: string
Screen
Section titled “Screen”public required Screen Screen { get; init; }Value: Screen
Methods
Section titled “Methods”Skip(bool, string)
Section titled “Skip(bool, string)”public void Skip(bool condition, string reason)Parameters
| Name | Type | Description |
|---|---|---|
condition |
bool | |
reason |
string |