This commit is contained in:
parent
31ffdd4b61
commit
426438051c
|
@ -10,7 +10,7 @@ describe('TicketBasicData', () => {
|
|||
cy.get('.q-page').should('be.visible');
|
||||
cy.get(':nth-child(2) > div > .text-primary').click();
|
||||
cy.dataCy('Address_select').click();
|
||||
cy.get('.q-btn-group > [data-v-d4506789=""] > .q-btn__content > .q-icon').click();
|
||||
cy.get('.q-btn-group ').find('.q-btn__content > .q-icon').click();
|
||||
cy.get(
|
||||
'[data-cy="CustomerBasicData-menu-item"] > .q-item__section--main',
|
||||
).click();
|
||||
|
@ -24,18 +24,12 @@ describe('TicketBasicData', () => {
|
|||
cy.get('.q-stepper__tab--active').should('have.class', 'q-stepper__tab--active');
|
||||
cy.get('tr:nth-child(1)>:nth-child(1)>span').should('have.class', 'link').click();
|
||||
cy.dataCy('ItemDescriptor').should('exist');
|
||||
cy.get('.q-drawer__content > :nth-child(1) > :nth-child(2) > span').should(
|
||||
'contain.text',
|
||||
'Price: €',
|
||||
);
|
||||
cy.get('.q-drawer__content > :nth-child(1) > :nth-child(3) > span').should(
|
||||
'contain.text',
|
||||
'New price: €',
|
||||
);
|
||||
cy.get('.q-drawer__content > :nth-child(1) > :nth-child(4) > span').should(
|
||||
'contain.text',
|
||||
'Difference: €',
|
||||
);
|
||||
|
||||
cy.get('.q-drawer__content > :nth-child(1)').each(() => {
|
||||
cy.get('span').should('contain.text', 'Price: €');
|
||||
cy.get('span').should('contain.text', 'New price: €');
|
||||
cy.get('span').should('contain.text', 'Difference: €');
|
||||
});
|
||||
cy.get(
|
||||
':nth-child(3) > .q-radio > .q-radio__inner > .q-radio__bg > .q-radio__check',
|
||||
).should('have.class', 'q-radio__check');
|
||||
|
|
Loading…
Reference in New Issue