UNPKG

suitest-js-api

Version:

Suitest is a test automation and device manipulation tool for living room devices and web browsers.

52 lines (42 loc) 1.63 kB
import { AbstractChain, ElementMatchModifiers, Timeout, BaseChain, VideoStateModifiers, HadNoErrorModifier, } from './modifiers'; import {PlayStationVideoProps} from "./constants/ElementProps"; export interface PlayStationVideoChain extends PlayStationVideoBaseQueryChain<PlayStationVideoChain>, Timeout<PlayStationVideoWithoutTimeout>, PlayStationVideoEvalModifiers<PlayStationVideoWithoutEvalChain> {} // -matchers +timeout interface PlayStationVideoWithoutEvalChain extends PlayStationVideoBaseEvalChain<PlayStationVideoWithoutEvalChain>, Timeout<PlayStationVideoEmptyChain> {} // +matches -timeout interface PlayStationVideoWithoutTimeout extends PlayStationVideoBaseQueryChain<PlayStationVideoWithoutTimeout>, PlayStationVideoEvalModifiers<PlayStationVideoEmptyChain> {} interface PlayStationVideoEmptyChain extends PlayStationVideoBaseEvalChain<PlayStationVideoEmptyChain> {} interface PlayStationVideoEvalModifiers<T> extends VideoStateModifiers<T>, Omit<ElementMatchModifiers<T>, 'matchesRepo' | 'matchRepo'>, HadNoErrorModifier<T> {} interface PlayStationVideoBaseQueryChain<TSelf> extends BaseChain<TSelf, PlayStationVideoQueryResult, PlayStationVideoAbandonedChain> {} // base interface with then method interface PlayStationVideoBaseEvalChain<TSelf> extends BaseChain<TSelf, PlayStationVideoEvalResult, PlayStationVideoAbandonedChain> {} interface PlayStationVideoAbandonedChain extends AbstractChain {} type PlayStationVideoQueryResult = PlayStationVideoProps | undefined; type PlayStationVideoEvalResult = boolean | undefined;