refactor: refs #8422 simplify DMS creation test by using fillInForm utility
gitea/salix-front/pipeline/pr-dev This commit is unstable
Details
gitea/salix-front/pipeline/pr-dev This commit is unstable
Details
This commit is contained in:
parent
dab3a2ce09
commit
7aeb75d4e1
|
@ -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,
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue