mirror of
https://github.com/umami-software/umami.git
synced 2025-12-08 05:12:36 +01:00
install cypress and add initial test
This commit is contained in:
parent
23a45a3109
commit
5b9f0707b8
10 changed files with 768 additions and 20 deletions
11
cypress/support/index.d.ts
vendored
Normal file
11
cypress/support/index.d.ts
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
/// <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>>;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue