refactor: refs #8441 rename getSelector to getLinkSelector for clarity
gitea/salix-front/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Jose Antonio Tubau 2025-04-02 06:52:45 +02:00
parent 4e49a73173
commit 22293eb2f8
1 changed files with 3 additions and 3 deletions

View File

@ -1,9 +1,9 @@
describe('Vehicle Invoice In', () => {
const getSelector = (colField) =>
const getLinkSelector = (colField) =>
`tr:first-child > [data-col-field="${colField}"] > .no-padding > .link`;
const selectors = {
firstRowSupplier: getSelector('supplierFk'),
firstRowInvoice: getSelector('supplierRef'),
firstRowSupplier: getLinkSelector('supplierFk'),
firstRowInvoice: getLinkSelector('supplierRef'),
descriptorTitle: '.q-menu > .descriptor .title',
summaryTitle: '.summaryHeader',
descriptorOpenSummaryBtn: '.q-menu > .descriptor [data-cy="openSummaryBtn"]',