import { TestExecutionSpec } from "./test-execution-spec"; import { ApplicationModelId, BrowserSessionId, TestSessionId } from "../../types"; import { Tag } from "../../tag"; import { SingleTestRunCreationSpec } from "../test-mgmt-client"; import { TestExecutionSpecBuilder } from "../test-execution-spec-builder"; /** * A StoryCheckSpec is a test type that sits on an existing Expedition, e.g. a Selenium or Appium Session, and allows * adding test results or having an individual overall execution result. It can be used when your Expedition * is used for multiple tests, e.g. when you create a single driver in your test set up code and reuse that * driver in multiple tests, features, specs, etc. * * The {@code executionName} is the name that is shown in your reports. You can set it to whatever helps you * identifying or grouping the test execution later, such as the feature or method name. */ export declare class StoryCheckSpec extends TestExecutionSpec { private readonly expeditionId; constructor(executionName: string, tags: Tag[], models: ApplicationModelId[], testSessions: TestSessionId[], expeditionId: BrowserSessionId); makeTestRunCreationSpec(): SingleTestRunCreationSpec; } export declare class StoryCheckBuilder extends TestExecutionSpecBuilder { private readonly storyName; private constructor(); static builder(storyName: string): StoryCheckBuilder; build(): TestExecutionSpec; }