umami/cypress/support/e2e.ts
2024-02-27 21:41:34 -08:00

6 lines
120 B
TypeScript

/// <reference types="cypress" />
Cypress.Commands.add('dataCy', value => {
return cy.get(`[data-cy=${value}]`);
});