refactor: refs #8422 update form input handling to select all text before typing
gitea/salix-front/pipeline/pr-dev This commit is unstable Details

This commit is contained in:
Jose Antonio Tubau 2025-03-12 08:32:45 +01:00
parent 7ab2e28dc7
commit ca6c0cff29
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ Cypress.Commands.add('fillInForm', (obj, form = '.q-form > .q-card') => {
cy.get('.q-time .q-time__link').contains(val.x).click();
break;
default:
cy.wrap(el).clear().type(val);
cy.wrap(el).type(`{selectall}${val}`);
break;
}
});