test: fix clientBalance
gitea/salix-front/pipeline/head This commit looks good Details

This commit is contained in:
Carlos Satorres 2025-03-11 08:47:33 +01:00
parent 5653ed6b18
commit 34d4944fbf
2 changed files with 3 additions and 6 deletions

View File

@ -143,7 +143,7 @@ const handleUppercase = () => {
:rules="mixinRules"
:lazy-rules="true"
hide-bottom-space
:data-cy="$attrs['data-cy'] ?? $attrs.label + '_input'"
:data-cy="($attrs['data-cy'] ?? $attrs.label) + '_input'"
>
<template #prepend v-if="$slots.prepend">
<slot name="prepend" />

View File

@ -5,13 +5,10 @@ describe('Client balance', () => {
cy.login('developer');
cy.visit('#/customer/1101/balance');
});
it('Should load layout', () => {
cy.get('.q-page').should('be.visible');
});
it('Should create a mandate', () => {
cy.get('.q-page-sticky > div > .q-btn').click();
cy.dataCy('paymentBank').type({ arroyDown });
cy.dataCy('paymentAmount').type('100');
cy.selectOption('[data-cy="paymentBank"]', 2);
cy.dataCy('paymentAmount_input').type('100');
cy.saveCard();
});
});