refactor: simplify client selection in order creation test
gitea/salix-front/pipeline/head This commit looks good Details

This commit is contained in:
Alex Moreno 2025-03-06 14:59:51 +01:00
parent de4e3d6675
commit b39aeb46a2
1 changed files with 1 additions and 2 deletions

View File

@ -8,8 +8,7 @@ describe('OrderList', () => {
it('create order', () => {
cy.get('[data-cy="vnTableCreateBtn"]').click();
cy.get('[data-cy="Client_select"]').type('1101');
cy.get('.q-menu').contains('Bruce Wayne').click();
cy.selectOption('[data-cy="Client_select"]', 1101);
cy.get('[data-cy="Address_select"]').click();
cy.get(
'.q-menu > div> div.q-item:nth-child(1) >div.q-item__section--avatar > i',