test: use specific customer id to test with data
gitea/salix-front/pipeline/pr-master This commit looks good Details

This commit is contained in:
Javier Segarra 2024-10-10 12:17:23 +02:00
parent 186cc2ccfd
commit f8b8fd0386
18 changed files with 38 additions and 25 deletions

View File

@ -7,7 +7,7 @@ describe('Handle Client consignee', () => {
timeout: 5000, timeout: 5000,
}); });
}); });
it('Form loaded', () => { it('Should load layout', () => {
cy.get('.q-card').should('be.visible'); cy.get('.q-card').should('be.visible');
}); });
}); });

View File

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

View File

@ -7,7 +7,7 @@ describe('Handle Client basic data', () => {
timeout: 5000, timeout: 5000,
}); });
}); });
it('Form loaded', () => { it('Should load layout', () => {
cy.get('.q-card').should('be.visible'); cy.get('.q-card').should('be.visible');
}); });
}); });

View File

@ -7,7 +7,7 @@ describe('Handle Client billing data', () => {
timeout: 5000, timeout: 5000,
}); });
}); });
it('Form loaded', () => { it('Should load layout', () => {
cy.get('.q-card').should('be.visible'); cy.get('.q-card').should('be.visible');
}); });
}); });

View File

@ -7,7 +7,7 @@ describe('Handle Client credits', () => {
timeout: 5000, timeout: 5000,
}); });
}); });
it('Form loaded', () => { it('Should load layout', () => {
cy.get('.q-card').should('be.visible'); cy.get('.q-card').should('be.visible');
}); });
}); });

View File

@ -7,7 +7,7 @@ describe('Handle Client fiscal data', () => {
timeout: 5000, timeout: 5000,
}); });
}); });
it('Form loaded', () => { it('Should load layout', () => {
cy.get('.q-card').should('be.visible'); cy.get('.q-card').should('be.visible');
}); });
}); });

View File

@ -3,11 +3,11 @@ describe('Handle Client greuges', () => {
beforeEach(() => { beforeEach(() => {
cy.viewport(1280, 720); cy.viewport(1280, 720);
cy.login('developer'); cy.login('developer');
cy.visit('#/customer/1110/greuges', { cy.visit('#/customer/1101/greuges', {
timeout: 5000, timeout: 5000,
}); });
}); });
it('Form loaded', () => { it('Should load layout', () => {
cy.get('.q-card').should('be.visible'); cy.get('.q-card').should('be.visible');
}); });
}); });

View File

@ -7,7 +7,7 @@ describe('Handle Client notes', () => {
timeout: 5000, timeout: 5000,
}); });
}); });
it('Form loaded', () => { it('Should load layout', () => {
cy.get('.q-card').should('be.visible'); cy.get('.q-card').should('be.visible');
}); });
}); });

View File

@ -3,11 +3,11 @@ describe('Handle Client recoveries', () => {
beforeEach(() => { beforeEach(() => {
cy.viewport(1280, 720); cy.viewport(1280, 720);
cy.login('developer'); cy.login('developer');
cy.visit('#/customer/1110/recoveries', { cy.visit('#/customer/1101/recoveries', {
timeout: 5000, timeout: 5000,
}); });
}); });
it('Form loaded', () => { it('Should load layout', () => {
cy.get('.q-card').should('be.visible'); cy.get('.q-card').should('be.visible');
}); });
}); });

View File

@ -7,7 +7,7 @@ describe('Handle Client web-access', () => {
timeout: 5000, timeout: 5000,
}); });
}); });
it('Form loaded', () => { it('Should load layout', () => {
cy.get('.q-card').should('be.visible'); cy.get('.q-card').should('be.visible');
}); });
}); });

View File

@ -0,0 +1,13 @@
/// <reference types="cypress" />
describe('Handle Client credit opinion', () => {
beforeEach(() => {
cy.viewport(1280, 720);
cy.login('developer');
cy.visit('#/customer/1101/credit-management/credit-contracts', {
timeout: 5000,
});
});
it('Should load layout', () => {
cy.get('.q-card').should('be.visible');
});
});

View File

@ -3,11 +3,11 @@ describe('Handle Client credit opinion', () => {
beforeEach(() => { beforeEach(() => {
cy.viewport(1280, 720); cy.viewport(1280, 720);
cy.login('developer'); cy.login('developer');
cy.visit('#/customer/1110/others/credit-management/credit-opinion', { cy.visit('#/customer/1110/credit-management/credit-opinion', {
timeout: 5000, timeout: 5000,
}); });
}); });
it('Form loaded', () => { it('Should load layout', () => {
cy.get('.q-card').should('be.visible'); cy.get('.q-card').should('be.visible');
}); });
}); });

View File

@ -3,11 +3,11 @@ describe('Handle Client consumption', () => {
beforeEach(() => { beforeEach(() => {
cy.viewport(1280, 720); cy.viewport(1280, 720);
cy.login('developer'); cy.login('developer');
cy.visit('#/customer/1110/others/consumption', { cy.visit('#/customer/1101/others/consumption', {
timeout: 5000, timeout: 5000,
}); });
}); });
it('Form loaded', () => { it('Should load layout', () => {
cy.get('.q-card').should('be.visible'); cy.get('.q-card').should('be.visible');
}); });
}); });

View File

@ -3,11 +3,11 @@ describe('Handle Client contacts', () => {
beforeEach(() => { beforeEach(() => {
cy.viewport(1280, 720); cy.viewport(1280, 720);
cy.login('developer'); cy.login('developer');
cy.visit('#/customer/1110/others/contacts', { cy.visit('#/customer/1101/others/contacts', {
timeout: 5000, timeout: 5000,
}); });
}); });
it('Form loaded', () => { it('Should load layout', () => {
cy.get('.q-card').should('be.visible'); cy.get('.q-card').should('be.visible');
}); });
}); });

View File

@ -7,7 +7,7 @@ describe('Handle Client mandates', () => {
timeout: 5000, timeout: 5000,
}); });
}); });
it('Form loaded', () => { it('Should load layout', () => {
cy.get('.q-card').should('be.visible'); cy.get('.q-card').should('be.visible');
}); });
}); });

View File

@ -3,11 +3,11 @@ describe('Handle Client samples', () => {
beforeEach(() => { beforeEach(() => {
cy.viewport(1280, 720); cy.viewport(1280, 720);
cy.login('developer'); cy.login('developer');
cy.visit('#/customer/1110/others/samples', { cy.visit('#/customer/1101/others/samples', {
timeout: 5000, timeout: 5000,
}); });
}); });
it('Form loaded', () => { it('Should load layout', () => {
cy.get('.q-card').should('be.visible'); cy.get('.q-card').should('be.visible');
}); });
}); });

View File

@ -7,7 +7,7 @@ describe('Handle Client unpaid', () => {
timeout: 5000, timeout: 5000,
}); });
}); });
it('Form loaded', () => { it('Should load layout', () => {
cy.get('.q-card').should('be.visible'); cy.get('.q-card').should('be.visible');
}); });
}); });

View File

@ -3,11 +3,11 @@ describe('Handle Client web payments', () => {
beforeEach(() => { beforeEach(() => {
cy.viewport(1280, 720); cy.viewport(1280, 720);
cy.login('developer'); cy.login('developer');
cy.visit('#/customer/1110/others/web-payments', { cy.visit('#/customer/1101/others/web-payments', {
timeout: 5000, timeout: 5000,
}); });
}); });
it('Form loaded', () => { it('Should load layout', () => {
cy.get('.q-card').should('be.visible'); cy.get('.q-card').should('be.visible');
}); });
}); });