mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
* clean up some e2e/runtime types * fix some stories * some more fixes * fix route props * update unit tests * update more unit tests * don't throw here
19 lines
614 B
TypeScript
19 lines
614 B
TypeScript
/// <reference types="cypress" />
|
|
|
|
interface CompareScreenshotsConfig {
|
|
name: string;
|
|
threshold?: number;
|
|
}
|
|
|
|
declare namespace Cypress {
|
|
interface Chainable {
|
|
compareScreenshots(config: CompareScreenshotsConfig | string): Chainable;
|
|
logToConsole(message: string, optional?: unknown): void;
|
|
readProvisions(filePaths: string[]): Chainable;
|
|
getJSONFilesFromDir(dirPath: string): Chainable;
|
|
startBenchmarking(testName: string): void;
|
|
stopBenchmarking(testName: string, appStats: Record<string, unknown>): void;
|
|
checkHealthRetryable(fn: Function, retryCount: number): Chainable;
|
|
}
|
|
}
|