forked from verdnatura/salix-front
feat: improve test
This commit is contained in:
parent
c067006d08
commit
65a8a78622
|
@ -28,6 +28,17 @@ describe('VnShortcuts', () => {
|
|||
});
|
||||
|
||||
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