fix: fixed e2e tests

This commit is contained in:
Jon Elias 2024-07-05 07:36:20 +02:00
parent dc16534787
commit b0ddad5231
4 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
describe('WagonTypeCreate', () => {
describe('EntryDms', () => {
const entryId = 1;
beforeEach(() => {

View File

@ -10,7 +10,7 @@ describe('InvoiceInCorrective', () => {
cy.login('developer');
cy.visit(`/#/invoice-in/1/summary?limit=10`);
cy.openActionsDescriptor();
cy.get('.header > :nth-child(3) > .q-btn__content > .q-icon').click();
cy.get(createRectificative).click();
cy.get(saveDialog).click();

View File

@ -8,7 +8,7 @@ describe('InvoiceInDescriptor', () => {
cy.login('developer');
cy.visit('/#/invoice-in/1/summary');
cy.openActionsDescriptor();
cy.get('.header > :nth-child(3) > .q-btn__content > .q-icon').click();
cy.get(firstDescritorOpt).click();
cy.get(dialogBtns).eq(1).click();
cy.get(isBookedField).should('have.attr', 'aria-checked', 'true');

View File

@ -13,7 +13,7 @@ describe('Ticket descriptor', () => {
it('should clone the ticket without warehouse', () => {
cy.openLeftMenu();
cy.openActionsDescriptor();
cy.get('.header > :nth-child(3) > .q-btn__content > .q-icon').click();
cy.get(toCloneOpt).click();
cy.clickConfirm();
cy.get(warehouseValue).contains('-');