Documentation ¶
Index ¶
Constants ¶
const BaseFilepathLength = 53
BaseFilepathLength represents the path length where project will be unpacked. Example: "D:\sauce-playwright-runner\1.12.0\bundle\__project__\"
const ConsoleLogAsset = "console.log"
ConsoleLogAsset represents job asset log file name.
const MaxFilepathLength = 255
MaxFilepathLength represents the maximum path length acceptable.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudRunner ¶ added in v0.25.1
type CloudRunner struct { ProjectUploader storage.ProjectUploader JobStarter job.Starter JobReader job.Reader RDCJobReader job.Reader JobWriter job.Writer JobStopper job.Stopper CCYReader concurrency.Reader TunnelService tunnel.Service Region region.Region MetadataService framework.MetadataService ShowConsoleLog bool ArtifactDownloader download.ArtifactDownloader RDCArtifactDownloader download.ArtifactDownloader Framework framework.Framework MetadataSearchStrategy framework.MetadataSearchStrategy Reporters []report.Reporter Async bool FailFast bool // contains filtered or unexported fields }
CloudRunner represents the cloud runner for the Sauce Labs cloud.
type CypressRunner ¶
type CypressRunner struct { CloudRunner Project cypress.Project }
CypressRunner represents the Sauce Labs cloud implementation for cypress.
func (*CypressRunner) RunProject ¶
func (r *CypressRunner) RunProject() (int, error)
RunProject runs the tests defined in cypress.Project.
type EspressoRunner ¶ added in v0.36.0
type EspressoRunner struct { CloudRunner Project espresso.Project }
EspressoRunner represents the Sauce Labs cloud implementation for cypress.
func (*EspressoRunner) RunProject ¶ added in v0.36.0
func (r *EspressoRunner) RunProject() (int, error)
RunProject runs the tests defined in cypress.Project.
type PlaywrightRunner ¶
type PlaywrightRunner struct { CloudRunner Project playwright.Project }
PlaywrightRunner represents the Sauce Labs cloud implementation for playwright.
func (*PlaywrightRunner) RunProject ¶
func (r *PlaywrightRunner) RunProject() (int, error)
RunProject runs the tests defined in cypress.Project.
type ReplayRunner ¶ added in v0.93.0
type ReplayRunner struct { CloudRunner Project replay.Project }
ReplayRunner represents the Sauce Labs cloud implementation for puppeteer-replay.
func (*ReplayRunner) RunProject ¶ added in v0.93.0
func (r *ReplayRunner) RunProject() (int, error)
RunProject runs the tests defined in cypress.Project.
type TestcafeRunner ¶ added in v0.31.0
type TestcafeRunner struct { CloudRunner Project testcafe.Project }
TestcafeRunner represents the SauceLabs cloud implementation
func (*TestcafeRunner) RunProject ¶ added in v0.31.0
func (r *TestcafeRunner) RunProject() (int, error)
RunProject runs the defined tests on sauce cloud
type XcuitestRunner ¶ added in v0.44.0
type XcuitestRunner struct { CloudRunner Project xcuitest.Project }
XcuitestRunner represents the Sauce Labs cloud implementation for xcuitest.
func (*XcuitestRunner) RunProject ¶ added in v0.44.0
func (r *XcuitestRunner) RunProject() (int, error)
RunProject runs the tests defined in xcuitest.Project.