UNPKG

askui

Version:

Reliable, automated end-to-end-testing that depends on what is shown on your screen instead of the technology you are running on

12 lines (11 loc) 677 B
import { CustomElement } from '../model/custom-element'; import { ControlCommand } from '../ui-control-commands'; import { CacheEntry } from './cache-entry'; export interface CacheInterface { loadFromFile(): void; saveToFile(): void; add(key: string, value: CacheEntry): void; addCacheEntryFromControlCommand(instruction: string, controlCommand: ControlCommand, customElements: CustomElement[], image?: string): Promise<void>; isImageRequired(instruction: string, customElements: CustomElement[]): boolean | undefined; getCachedControlCommand(instruction: string, customElements: CustomElement[], image?: string): Promise<ControlCommand | undefined>; }