refactor: refs #8413 vnInputDate component and improve date formatting logic #1700

Merged
jtubau merged 10 commits from 8413-addDateYearAutofillVnInputDate into dev 2025-04-16 15:03:40 +00:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit b625258856 - Show all commits

View File

@ -11,7 +11,7 @@ describe('EntryDms', () => {
cy.dataCy('recalc').should('be.disabled');
cy.dataCy('dateFrom').should('be.visible').click().type('01-01-2001');
cy.dataCy('dateTo').should('be.visible').click().type('01-01-2001');
cy.dataCy('dateTo').should('be.visible').click().type('01-01-2001{enter}');
cy.dataCy('recalc').should('be.enabled').click();
cy.get('.q-notification__message').should(

View File

@ -189,8 +189,8 @@ Cypress.Commands.add('fillInForm', (obj, opts = {}) => {
break;
case 'date':
cy.get(el).type(
`{selectall}{backspace}${val.split('-').join('')}`,
);
`{selectall}{backspace}${val}`,
).blur();
break;
case 'time':
cy.get(el).click();