test: refs #8626 addTestCases #1422

Merged
jtubau merged 40 commits from 8626-addTestCasesInRouteListTest into dev 2025-03-17 11:43:39 +00:00
2 changed files with 2 additions and 3 deletions
Showing only changes of commit d6f53ad63c - Show all commits

View File

@ -160,7 +160,6 @@ const columns = computed(() => [
:data-key
ref="tableRef"
:columns="columns"
ref="tableRef"
:right-search="false"
redirect="route"
:create="{

View File

@ -120,7 +120,7 @@ describe('Route extended list', () => {
it('Should clone selected route', () => {
cy.get(selectors.lastRowSelectCheckBox).click();
cy.get(selectors.cloneBtn).click();
cy.dataCy('route.Starting date_inputDate').type('10-05-2001').click();
cy.dataCy('route.Starting date_inputDate').type('10-05-2001');
cy.get('.q-card__actions > .q-btn--standard > .q-btn__content').click();
cy.validateContent(selectors.date, '05/10/2001');
});
@ -153,7 +153,7 @@ describe('Route extended list', () => {
});
it('Should add ticket to route', () => {
cy.dataCy('tableAction-0').last().click();
cy.dataCy('tableAction-0').first().click();
cy.get(selectors.firstTicketsRowSelectCheckBox).click();
cy.get('.q-card__actions > .q-btn--standard > .q-btn__content').click();
cy.checkNotification(dataSaved);