1
0
Fork 0
docsearch/cypress/support/commands.d.ts
renovate[bot] 374f33039c
chore(deps): update dependency cypress to v9 (#1175)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Clément Vannicatte <vannicattec@gmail.com>
2021-11-18 15:56:46 +01:00

26 lines
538 B
TypeScript

/// <reference types="cypress" />
declare namespace Cypress {
interface Chainable {
/**
* Toggles the dark mode on the preview website.
*/
darkmode: () => void;
/**
* Opens the DocSearch modal.
*/
openModal: () => void;
/**
* Closes the DocSearch modal.
*/
closeModal: () => void;
/**
* Types a query that returns results.
*/
typeQueryMatching: () => void;
/**
* Types a query that returns no results.
*/
typeQueryNotMatching: () => void;
}
}