e2e path completed
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Carlos Jimenez Ruiz 2020-09-07 10:30:36 +02:00
parent 6cfb1a226a
commit 014a537169
1 changed files with 3 additions and 7 deletions

View File

@ -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');
});
});