| import type { TestCmdList } from "./TestCmdList"; |
|
|
| export enum TestCommand { |
| Click = "click", |
| Text = "text", |
| Wait = "wait", |
| WaitUntilRegex = "waitUntilRegex", |
| WaitUntilNotRegex = "waitUntilNotRegex", |
| Upload = "upload", |
| AddTests = "addTests", |
| CheckBox = "checkBox", |
| TourNote = "tourNote", |
| } |
|
|
| export interface ITestCommand { |
| selector?: string; |
| cmd: TestCommand; |
| data?: any; |
| } |
|
|
| export interface ITest { |
| name?: string; |
| |
| beforePluginOpens?: () => TestCmdList; |
| |
| |
| pluginOpen?: () => TestCmdList; |
| |
| |
| closePlugin?: () => TestCmdList; |
| |
| afterPluginCloses?: () => TestCmdList; |
| } |
|
|