7729-devToTest_2430 #554

Merged
alexm merged 401 commits from 7729-devToTest_2430 into test 2024-07-16 07:17:04 +00:00
1 changed files with 19 additions and 19 deletions
Showing only changes of commit 26ad3d29c7 - Show all commits

View File

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