diff --git a/src/pages/Entry/EntryBuysTableDialog.vue b/src/pages/Entry/EntryBuysTableDialog.vue index 0f9be6298..23a6a0021 100644 --- a/src/pages/Entry/EntryBuysTableDialog.vue +++ b/src/pages/Entry/EntryBuysTableDialog.vue @@ -121,7 +121,7 @@ const entriesTableColumns = computed(() => [ :loading="isLoading" @click=" openReport( - `Entries/${props.row.id}/buy-label` + `Entries/${props.row.id}/buy-label-supplier` ) " unelevated diff --git a/test/cypress/integration/outLogin/logout.spec.js b/test/cypress/integration/outLogin/logout.spec.js index 8d4e90aac..d6c33a65b 100644 --- a/test/cypress/integration/outLogin/logout.spec.js +++ b/test/cypress/integration/outLogin/logout.spec.js @@ -13,7 +13,7 @@ describe('Logout', () => { }); describe('not user', () => { beforeEach(() => { - cy.intercept('GET', '**DefaultViewConfigs**', { + cy.intercept('GET', '**StarredModules**', { statusCode: 401, body: { error: { @@ -29,10 +29,7 @@ describe('Logout', () => { it('when token not exists', () => { cy.get('.q-list > [href="#/item"]').click(); - cy.get('.q-notification__message').should( - 'have.text', - 'Authorization Required' - ); + cy.checkNotification('Authorization Required'); }); }); });