Merge, itemDiary skipped again because of crash
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Juan Ferrer 2020-04-09 16:50:41 +02:00
parent e3b7f81c69
commit 04eb9945f8
2 changed files with 6 additions and 5 deletions

View File

@ -109,13 +109,13 @@ describe('Ticket descriptor path', () => {
it('should update the agency then remove it afterwards', async() => { it('should update the agency then remove it afterwards', async() => {
await page.autocompleteSearch(selectors.ticketsIndex.firstWeeklyTicketAgency, 'Silla247'); 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); await page.clearInput(selectors.ticketsIndex.firstWeeklyTicketAgency);
result = await page.waitForLastSnackbar(); message = await page.waitForSnackbar();
expect(result).toEqual('Data saved!'); expect(message.type).toBe('success');
}); });
}); });

View File

@ -1,7 +1,8 @@
import selectors from '../../helpers/selectors.js'; import selectors from '../../helpers/selectors.js';
import getBrowser from '../../helpers/puppeteer'; 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; let page;
beforeAll(async() => { beforeAll(async() => {