test: refs #8322 enable WagonCreate tests and update WagonTypeCreate navigation

This commit is contained in:
Alex Moreno 2025-03-06 13:27:27 +01:00
parent 94918011e6
commit 8730bb60e9
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
describe.skip('WagonCreate', () => {
describe('WagonCreate', () => {
beforeEach(() => {
cy.viewport(1280, 720);
cy.login('developer');
@ -17,7 +17,7 @@ describe.skip('WagonCreate', () => {
'.grid-create > [label="Volume"] > .q-field > .q-field__inner > .q-field__control > .q-field__control-container > [data-cy="Volume_input"]',
).type('100');
cy.selectOption('[data-cy="Type_select"]', '1');
cy.dataCy('FormModelPopup_save').click();
cy.get('[title="Remove"] > .q-btn__content > .q-icon').first().click();
});
});

View File

@ -2,7 +2,7 @@ describe('WagonTypeCreate', () => {
beforeEach(() => {
cy.viewport(1920, 1080);
cy.login('developer');
cy.visit('/#/wagon/type/create');
cy.visit('/#/wagon/type/list');
cy.waitForElement('.q-page', 6000);
});