refactor: refs #8422 simplify DMS creation test by using fillInForm utility
gitea/salix-front/pipeline/pr-dev This commit is unstable Details

This commit is contained in:
Jose Antonio Tubau 2025-04-03 13:02:15 +02:00
parent dab3a2ce09
commit 7aeb75d4e1
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ describe('Vehicle DMS', () => {
it('Should create new DMS', () => {
cy.dataCy(selectors.addBtn).click();
cy.dataCy(selectors.referenceInput).type(`{selectall}${data.Reference.val}`);
cy.fillInForm(data);
cy.dataCy(selectors.fileInput).selectFile('test/cypress/fixtures/image.jpg', {
force: true,
});