0
0
Fork 0
salix-front-mindshore-fork2/test/cypress/integration/entry/myEntry.spec.js

21 lines
601 B
JavaScript
Raw Normal View History

2024-07-02 23:47:14 +00:00
describe('WagonTypeCreate', () => {
beforeEach(() => {
cy.viewport(1920, 1080);
2024-07-02 23:48:06 +00:00
cy.login('customer');
2024-07-02 23:47:14 +00:00
cy.visit(`/#/entry/my`, {
onBeforeLoad(win) {
cy.stub(win, 'open');
},
});
cy.waitForElement('.q-page', 6000);
});
it('should create edit and remove new dms', () => {
cy.get(
'[to="/null/2"] > .q-card > .column > .q-btn > .q-btn__content > .q-icon'
).click();
cy.get('.q-card__actions > .q-btn').click();
cy.window().its('open').should('be.called');
});
});