Merge branch 'dev' into 7283-itemFilterWorkerBuyer
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Alex Moreno 2024-10-29 10:42:39 +00:00
commit c7c1343c06
2 changed files with 3 additions and 5 deletions

View File

@ -34,6 +34,7 @@ const emit = defineEmits(['confirm', 'cancel', ...useDialogPluginComponent.emits
const { dialogRef, onDialogHide, onDialogOK, onDialogCancel } = const { dialogRef, onDialogHide, onDialogOK, onDialogCancel } =
useDialogPluginComponent(); useDialogPluginComponent();
defineExpose({ show: () => dialogRef.value.show(), hide: () => dialogRef.value.hide() });
const title = props.title || t('Confirm'); const title = props.title || t('Confirm');
const message = const message =

View File

@ -13,7 +13,7 @@ describe('Logout', () => {
}); });
describe('not user', () => { describe('not user', () => {
beforeEach(() => { beforeEach(() => {
cy.intercept('GET', '**DefaultViewConfigs**', { cy.intercept('GET', '**StarredModules**', {
statusCode: 401, statusCode: 401,
body: { body: {
error: { error: {
@ -29,10 +29,7 @@ describe('Logout', () => {
it('when token not exists', () => { it('when token not exists', () => {
cy.get('.q-list > [href="#/item"]').click(); cy.get('.q-list > [href="#/item"]').click();
cy.get('.q-notification__message').should( cy.checkNotification('Authorization Required');
'have.text',
'Authorization Required'
);
}); });
}); });
}); });