kui-shell
Version:
This is the monorepo for Kui, the hybrid command-line/GUI electron-based Kubernetes tool
28 lines (27 loc) • 1.59 kB
TypeScript
import { Application } from 'spectron';
export interface AppAndCount {
app: Application;
count: number;
}
interface CustomSpec {
selector?: string;
errOk?: boolean;
expect?: string;
exact?: boolean;
passthrough?: boolean;
}
export declare const ok: (res: AppAndCount) => Promise<Application>;
export declare const error: (statusCode: string | number, expect?: string) => (res: AppAndCount) => Promise<Application>;
export declare const errorWithPassthrough: (statusCode: string | number, expect?: string) => (res: AppAndCount) => Promise<any>;
export declare const blankWithOpts: (opts?: {}) => (res: AppAndCount) => Promise<any>;
export declare const blank: (res: AppAndCount) => Promise<any>;
export declare const consoleToBeClear: (app: Application) => any;
export declare const okWithCustom: (custom: CustomSpec) => (res: AppAndCount) => Promise<any>;
export declare const okWithTextContent: (expect: string, exact?: boolean, failFast?: boolean, sel?: string) => (res: AppAndCount) => Promise<boolean>;
export declare const okWithString: (expect: string, exact?: boolean) => (res: AppAndCount) => Promise<any>;
export declare const okWithStringEventually: (expect: string, exact?: boolean) => (res: AppAndCount) => any;
export declare const okWithAny: (res: AppAndCount) => Promise<any>;
export declare const okWithOnly: (entityName: string) => (res: AppAndCount) => Promise<any>;
export declare const okWith: (entityName: string) => (res: AppAndCount) => Promise<any>;
export declare const justOK: (res: AppAndCount) => Promise<Application>;
export {};