This commit is contained in:
parent
84651c8a17
commit
4d23c9f24b
|
@ -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');
|
||||
});
|
||||
});
|
||||
|
|
|
@ -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', () => {
|
||||
|
|
Loading…
Reference in New Issue