mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-22 18:00:17 +01:00
12 lines
272 B
TypeScript
12 lines
272 B
TypeScript
/// <reference types="cypress" />
|
|
|
|
declare namespace Cypress {
|
|
interface Chainable {
|
|
/**
|
|
* Custom command to select DOM element by data-cy attribute.
|
|
* @example cy.dataCy('greeting')
|
|
*/
|
|
dataCy(value: string): Chainable<JQuery<HTMLElement>>;
|
|
}
|
|
}
|