1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-03-30 06:55:45 +00:00
trezor-wallet/test/support/commands.js
2019-01-16 14:25:02 +01:00

6 lines
202 B
JavaScript

import { addMatchImageSnapshotCommand } from 'cypress-image-snapshot/command';
addMatchImageSnapshotCommand();
Cypress.Commands.add('getTestElement', selector => cy.get(`[data-test="${selector}"]`));