These are the main public types exposed through @qawolf/testkit and @qawolf/testkit/client.
MountCifsShareOptions
Used by:
mountCifsShare(...)
TestkitPorts["mountCifsShare"]
Example:
StartOpenVpnOptions
Used by:
startOpenVpn(...)
TestkitPorts["startOpenVpn"]
Example:
StartWireGuardOptions
Used by:
TestkitPorts["startWireGuard"]
The current code exposes this through the client ports, but there is no top-level startWireGuard(...) helper export today.
Example:
Screenshotable
Used by saveBaselineScreenshot(...). Any page or locator-like object that supports this screenshot method shape can be used.
Example:
SaveBaselineScreenshot
Example:
SaveSnapshot
This is the lower-level runner port used to implement saveBaselineScreenshot(...).
Example:
TestkitPorts
These are the environment-specific ports that runners pass to createTestkitClient(...).
Example:
TestkitClient
TestkitClient is a union of:
- a client with baseline screenshot support
- a client without baseline screenshot support
If saveSnapshot is provided, the created client exposes saveBaselineScreenshot(...). Otherwise that method is absent.
Example:
Last modified on April 24, 2026