creevey
Version:
Cross-browser screenshot testing tool for Storybook with fancy UI Runner
19 lines (17 loc) • 543 B
TypeScript
/// <reference types="mocha" />
declare namespace Mocha {
interface Context {
config: import('creevey').Config;
browser: import('selenium-webdriver').WebDriver;
until: import('selenium-webdriver/lib/until');
keys: import('selenium-webdriver/lib/input').IKey;
expect: Chai.ExpectStatic;
takeScreenshot: () => Promise<string>;
readonly captureElement?: import('selenium-webdriver').WebElementPromise;
browserName: string;
testScope: string[];
}
interface Test {
skipReason: string | boolean;
}
}