fix: remove bad code
gitea/salix-front/pipeline/pr-test There was a failure building this commit Details

This commit is contained in:
Javier Segarra 2025-02-16 00:50:39 +01:00
parent b998aab6dd
commit ab3ac4fdeb
2 changed files with 1 additions and 7 deletions

View File

@ -462,7 +462,6 @@ watch(
:array-data-props="{
url: 'Tickets/filter',
order: ['shippedDate DESC', 'shippedHour ASC', 'zoneLanding ASC', 'id'],
label: t('Search items'),
excludeParams: { ...userParams },
searchRemoveParams: true,
exprBuilder,

View File

@ -38,12 +38,11 @@ describe('TicketList', () => {
cy.get('.summaryBody').should('exist');
});
it.only('Filter client and create ticket', () => {
it('filter client and create ticket', () => {
cy.intercept('GET', /\/api\/Tickets\/filter/).as('ticketSearchbar');
searchResults();
cy.wait('@ticketSearchbar').then((interception) => {
const { query } = interception.request;
cy.log('Request query:', query);
expect(query).to.have.property('from');
expect(query).to.have.property('to');
expect(query).to.not.have.property('clientFk');
@ -53,7 +52,6 @@ describe('TicketList', () => {
cy.get('[data-cy="Customer ID_input"]').type('1101{enter}');
cy.wait('@ticketFilter').then((interception) => {
const { query } = interception.request;
cy.log('Request query:', query);
expect(query).to.not.have.property('from');
expect(query).to.not.have.property('to');
expect(query).to.have.property('clientFk');
@ -64,9 +62,6 @@ describe('TicketList', () => {
cy.selectOptionBeta().click();
cy.get('[data-cy="Address_select"]').should('have.value', 'Bruce Wayne');
// cy.get('[role="listbox"] .q-item:nth-child(1)>.q-item__section--avatar > i')
// .should('have.text', 'star')
// .click();
});
it('Client list create new client', () => {
cy.dataCy('vnTableCreateBtn').should('exist');