refactor: remove redundant form filling step in order creation test
gitea/salix-front/pipeline/pr-master This commit is unstable
Details
gitea/salix-front/pipeline/pr-master This commit is unstable
Details
This commit is contained in:
parent
de359043af
commit
64e30b7143
|
@ -21,8 +21,6 @@ describe('OrderList', () => {
|
||||||
cy.selectOption(agencyCreateSelect, 1);
|
cy.selectOption(agencyCreateSelect, 1);
|
||||||
|
|
||||||
cy.intercept('GET', /\/api\/Orders\/\d/).as('orderSale');
|
cy.intercept('GET', /\/api\/Orders\/\d/).as('orderSale');
|
||||||
cy.fillInForm(data);
|
|
||||||
|
|
||||||
cy.get('[data-cy="FormModelPopup_save"] > .q-btn__content > .block').click();
|
cy.get('[data-cy="FormModelPopup_save"] > .q-btn__content > .block').click();
|
||||||
cy.wait('@orderSale');
|
cy.wait('@orderSale');
|
||||||
cy.get('.q-item > .q-item__label.subtitle').then((text) => {
|
cy.get('.q-item > .q-item__label.subtitle').then((text) => {
|
||||||
|
|
Loading…
Reference in New Issue