UNPKG

@serenity-js/protractor

Version:

Adapter that integrates @serenity-js/web with Protractor, enabling Serenity/JS reporting and using the Screenplay Pattern to write end-to-end test scenarios

24 lines 921 B
import type { TestRunnerAdapter } from '@serenity-js/core/lib/adapter'; import type { Config as ProtractorConfig } from 'protractor'; import type { TestRunnerLoader } from './TestRunnerLoader'; /** * Detects the [`TestRunnerAdapter`](https://serenity-js.org/api/core-adapter/interface/TestRunnerAdapter/) to use, * based on Protractor configuration. * * @group Integration */ export declare class TestRunnerDetector { private readonly testRunnerLoader; static cucumberOpts: string; static jasmineNodeOpts: string; static mochaOpts: string; static protractorCliOptions(): string[]; constructor(testRunnerLoader: TestRunnerLoader); runnerFor(config: ProtractorConfig): TestRunnerAdapter; private useJasmine; private useMocha; private useCucumber; private mergedConfigFor; private multiCapabilitiesOrTestShardingEnabled; } //# sourceMappingURL=TestRunnerDetector.d.ts.map