diff --git a/e2e/paths/12-entry/04_create.spec.js b/e2e/paths/12-entry/04_create.spec.js index d58326ecf..90dac618a 100644 --- a/e2e/paths/12-entry/04_create.spec.js +++ b/e2e/paths/12-entry/04_create.spec.js @@ -1,11 +1,7 @@ import selectors from '../../helpers/selectors.js'; import getBrowser from '../../helpers/puppeteer'; -// #2434 [E2E] entry.create -// esto explota por ahora al guardar con el error: -// Possibly unhandled rejection: -// {"$id":0,"type":4,"message":"This transition is invalid","detail":"Could not resolve 'entry.card.basicData' from state 'entry.create'"} -xdescribe('Entry create path', () => { +describe('Entry create path', () => { let browser; let page; @@ -31,7 +27,7 @@ xdescribe('Entry create path', () => { await page.waitToClick(selectors.entryIndex.saveNewEntry); }); - it('should check the new state is a summary or a basicData for a created entry', async() => { - expect(true).toBe(false); // to flag this isn't quite finished yet. + it('should be redirected to entry basic data', async() => { + await page.waitForState('entry.card.basicData'); }); });