Files
grafana/e2e/cypress/support/index.d.ts
Ashley Harrison ced065c7e9 Chore: fix some more types (#76535)
* 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
2023-10-24 11:53:22 +01:00

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;
}
}