Configuration
@currents/playwright configuration reference
Configuration Sources
import { OrchestrationStatus, CurrentsConfig } from "@currents/playwright";
function getCIBuildId() {
return "example";
}
const onFinish = async (result: OrchestrationStatus) => {
console.log("Orchestration finished with status", result);
};
const config: CurrentsConfig = {
recordKey: process.env.CURRENTS_RECORD_KEY || throw new Error("oh no!"),
projectId: process.env.CURRENTS_PROJECT_ID,
ciBuildId: getCIBuildId(),
orchestration: {
skipReporterInjection: true,
onFinish,
},
};
export default config;Configuration Overrides
Reference
ciBuildId *
projectId *
recordKey *
tag
removeTitleTags
disableTitleTags
disableTestTags
cancelAfterFailures
testSuiteFile
machineId
orchestrationId
outputFile
orchestration
orchestration.resetSignal
orchestration.skipReporterInjection
orchestration.onFinish
orchestration.batchSize
coverage
coverage.projects
coverage.dir
Last updated
Was this helpful?