diff --git a/e2e/paths/05-ticket/09_weekly.spec.js b/e2e/paths/05-ticket/09_weekly.spec.js index 9d59e9809..79722d2f7 100644 --- a/e2e/paths/05-ticket/09_weekly.spec.js +++ b/e2e/paths/05-ticket/09_weekly.spec.js @@ -109,13 +109,13 @@ describe('Ticket descriptor path', () => { it('should update the agency then remove it afterwards', async() => { await page.autocompleteSearch(selectors.ticketsIndex.firstWeeklyTicketAgency, 'Silla247'); - let result = await page.waitForLastSnackbar(); + let message = await page.waitForSnackbar(); - expect(result).toEqual('Data saved!'); + expect(message.type).toBe('success'); await page.clearInput(selectors.ticketsIndex.firstWeeklyTicketAgency); - result = await page.waitForLastSnackbar(); + message = await page.waitForSnackbar(); - expect(result).toEqual('Data saved!'); + expect(message.type).toBe('success'); }); }); diff --git a/e2e/paths/05-ticket/11_diary.spec.js b/e2e/paths/05-ticket/11_diary.spec.js index 71c2fa881..a75e1ae24 100644 --- a/e2e/paths/05-ticket/11_diary.spec.js +++ b/e2e/paths/05-ticket/11_diary.spec.js @@ -1,7 +1,8 @@ import selectors from '../../helpers/selectors.js'; import getBrowser from '../../helpers/puppeteer'; -describe('Ticket diary path', () => { +// #2221 Local MySQL8 crashes when rest method Items/getDiary is called +xdescribe('Ticket diary path', () => { let page; beforeAll(async() => {