fix: update order list tests to remove only and skip modifiers
gitea/salix-front/pipeline/pr-master This commit looks good Details

This commit is contained in:
Javier Segarra 2025-03-27 09:03:40 +01:00
parent 229737c75c
commit 67e0791f34
1 changed files with 4 additions and 2 deletions

View File

@ -10,7 +10,7 @@ describe('OrderList', () => {
cy.visit('/#/order/list');
});
it.only('create order', () => {
it('create order', () => {
cy.get('[data-cy="vnTableCreateBtn"]').click();
cy.selectOption(clientCreateSelect, 1101);
cy.get(addressCreateSelect).click();
@ -30,9 +30,11 @@ describe('OrderList', () => {
cy.url().should('include', `/order`);
});
it.skip('filter list and create order', () => {
it('filter list and create order', () => {
cy.dataCy('Customer ID_input').type('1101{enter}');
cy.intercept('GET', /\/api\/Clients/).as('clientFilter');
cy.dataCy('vnTableCreateBtn').click();
cy.wait('@clientFilter');
cy.dataCy('landedDate').find('input').type('06/01/2001');
cy.selectOption(agencyCreateSelect, 1);