fix: refs #6919 tests #8316
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Jorge Penadés 2025-01-31 10:29:47 +01:00
parent 84651c8a17
commit 4d23c9f24b
2 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,7 @@ describe('ParkingBasicData', () => {
const sectorOpt = '.q-menu .q-item';
beforeEach(() => {
cy.login('developer');
cy.visit(`/#/parking/1/basic-data`);
cy.visit(`/#/shelving/parking/1/basic-data`);
});
it('should edit the code and sector', () => {
@ -13,11 +13,11 @@ describe('ParkingBasicData', () => {
cy.get(sectorOpt).click();
cy.get(codeInput).eq(0).clear();
cy.get(codeInput).eq(0).type(123);
cy.get(codeInput).eq(0).type('900-001');
cy.saveCard();
cy.get(sectorSelect).should('have.value', 'Second sector');
cy.get(codeInput).should('have.value', 123);
cy.get(codeInput).should('have.value', '900-001');
});
});

View File

@ -11,7 +11,7 @@ describe('ParkingList', () => {
beforeEach(() => {
cy.viewport(1920, 1080);
cy.login('developer');
cy.visit(`/#/parking/list`);
cy.visit(`/#/shelving/parking/list`);
});
it('should redirect on clicking a parking', () => {