fix: refs #8828 correct response index in ticket filter interception
gitea/salix-front/pipeline/pr-dev This commit is unstable
Details
gitea/salix-front/pipeline/pr-dev This commit is unstable
Details
This commit is contained in:
parent
83f6a05244
commit
6b472341a1
|
@ -79,7 +79,7 @@ describe('TicketList', () => {
|
||||||
cy.get('[data-cy="Warehouse_select"]').type('Warehouse One');
|
cy.get('[data-cy="Warehouse_select"]').type('Warehouse One');
|
||||||
cy.get('.q-menu .q-item').contains('Warehouse One').click();
|
cy.get('.q-menu .q-item').contains('Warehouse One').click();
|
||||||
cy.wait('@ticket').then((interception) => {
|
cy.wait('@ticket').then((interception) => {
|
||||||
const data = interception.response.body[1];
|
const data = interception.response.body[0];
|
||||||
expect(data.hasComponentLack).to.equal(1);
|
expect(data.hasComponentLack).to.equal(1);
|
||||||
});
|
});
|
||||||
cy.get('.icon-components').should('exist');
|
cy.get('.icon-components').should('exist');
|
||||||
|
|
Loading…
Reference in New Issue