salix-front/test/cypress/integration/vnComponent/vnTable.commands.js

4 lines
124 B
JavaScript

Cypress.Commands.add('firstRow', (field, index = 1) =>
cy.get(`:nth-child(${index}) > [data-col-field="${field}"]`),
);