feat: improve test
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
This commit is contained in:
parent
c067006d08
commit
65a8a78622
|
@ -28,6 +28,17 @@ describe('VnShortcuts', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
cy.url().should('include', module);
|
cy.url().should('include', module);
|
||||||
|
if (['monitor', 'claim'].includes(module)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
cy.waitForElement('.q-page').should('exist');
|
||||||
|
cy.dataCy('vnTableCreateBtn').should('exist');
|
||||||
|
cy.get('.q-page').trigger('keydown', {
|
||||||
|
ctrlKey: true,
|
||||||
|
altKey: true,
|
||||||
|
key: '+',
|
||||||
|
});
|
||||||
|
cy.get('#formModel').should('exist');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue