test: refs #7134 remove conditions

This commit is contained in:
Javier Segarra 2025-01-13 23:02:46 +01:00
parent 252dd21492
commit 21cc6b3ecd
2 changed files with 3 additions and 28 deletions

View File

@ -5,30 +5,7 @@ describe('Supplier Balance', () => {
cy.visit(`/#/supplier/1/balance`);
});
it('literal', function () {
cy.get('.q-page').click();
// cy.get('.bg-header > :nth-child(1)').click();
cy.get('.q-pa-md > .q-drawer-container > .q-drawer > .q-drawer__content').click();
cy.get('.q-pa-md > #subToolbar').click();
cy.get('.text-bold').should('have.text', 'Total by company');
// cy.get('.q-tr > :nth-child(4) > span').should('have.text', '1181.87');
// cy.get('.q-tr > :nth-child(6)').should('have.text', '-3997.99');
// cy.get(':nth-child(5) > span').should('have.text', '1000');
// cy.get(':nth-child(1) > :nth-child(2) > .row > span').should(
// 'have.text',
// 'S/Fra 1235'
// );
// cy.get(':nth-child(10) > :nth-child(1) > .row > span').should(
// 'have.text',
// '15/09/2024, 00:00'
// );
// cy.get(':nth-child(10) > :nth-child(2) > .row > span').should(
// 'have.text',
// 'PayMethod one'
// );
// cy.get('.q-virtual-scroll__content > :nth-child(10) > :nth-child(3)').should(
// 'have.text',
// '1'
// );
it('Should load layout', () => {
cy.get('.q-page').should('be.visible');
});
});

View File

@ -3,9 +3,7 @@ describe('Client balance', () => {
beforeEach(() => {
cy.viewport(1280, 720);
cy.login('developer');
cy.visit('#/customer/1101/balance', {
timeout: 5000,
});
cy.visit('#/customer/1101/balance');
});
it('Should load layout', () => {
cy.get('.q-page').should('be.visible');