mini refactor on e2e paths to show module on first describe

This commit is contained in:
Carlos Jimenez 2018-04-05 08:55:47 +02:00
parent e1495c652d
commit 694543a2da
25 changed files with 2537 additions and 2489 deletions

View File

@ -1,7 +1,8 @@
import selectors from '../../helpers/selectors';
import createNightmare from '../../helpers/helpers';
describe('create client path', () => {
describe('Client', () => {
describe('create path', () => {
let nightmare = createNightmare();
beforeAll(() => {
@ -112,3 +113,4 @@ describe('create client path', () => {
});
});
});
});

View File

@ -1,6 +1,7 @@
import selectors from '../../helpers/selectors.js';
import createNightmare from '../../helpers/helpers';
describe('Client', () => {
describe('Edit basicData path', () => {
const nightmare = createNightmare();
@ -128,3 +129,4 @@ describe('Edit basicData path', () => {
});
});
});
});

View File

@ -1,6 +1,7 @@
import selectors from '../../helpers/selectors.js';
import createNightmare from '../../helpers/helpers';
describe('Client', () => {
describe('Edit fiscalData path', () => {
const nightmare = createNightmare();
@ -288,3 +289,4 @@ describe('Edit fiscalData path', () => {
});
});
});
});

View File

@ -1,6 +1,7 @@
import selectors from '../../helpers/selectors.js';
import createNightmare from '../../helpers/helpers';
describe('Client', () => {
describe('Edit pay method path', () => {
const nightmare = createNightmare();
@ -120,3 +121,4 @@ describe('Edit pay method path', () => {
});
});
});
});

View File

@ -1,6 +1,7 @@
import selectors from '../../helpers/selectors.js';
import createNightmare from '../../helpers/helpers';
describe('Client', () => {
describe('Add address path', () => {
const nightmare = createNightmare();
@ -126,3 +127,4 @@ describe('Add address path', () => {
});
});
});
});

View File

@ -1,6 +1,7 @@
// import selectors from '../../helpers/selectors.js';
// import createNightmare from '../../helpers/helpers';
// describe('Client', () => {
// describe('Add address notes path', () => {
// const nightmare = createNightmare();
@ -94,4 +95,5 @@
// });
// });
// });
// });

View File

@ -1,6 +1,7 @@
import selectors from '../../helpers/selectors.js';
import createNightmare from '../../helpers/helpers';
describe('Client', () => {
describe('Edit web access path', () => {
const nightmare = createNightmare();
@ -76,3 +77,4 @@ describe('Edit web access path', () => {
});
});
});
});

View File

@ -1,6 +1,7 @@
import selectors from '../../helpers/selectors.js';
import createNightmare from '../../helpers/helpers';
describe('Client', () => {
describe('Add notes path', () => {
const nightmare = createNightmare();
@ -74,3 +75,4 @@ describe('Add notes path', () => {
});
});
});
});

View File

@ -1,6 +1,7 @@
import selectors from '../../helpers/selectors.js';
import createNightmare from '../../helpers/helpers';
describe('Client', () => {
describe('Add credit path', () => {
const nightmare = createNightmare();
@ -76,3 +77,4 @@ describe('Add credit path', () => {
});
});
});
});

View File

@ -1,6 +1,7 @@
import selectors from '../../helpers/selectors.js';
import createNightmare from '../../helpers/helpers';
describe('Client', () => {
describe('Add greuge path', () => {
const nightmare = createNightmare();
@ -88,3 +89,4 @@ describe('Add greuge path', () => {
});
});
});
});

View File

@ -1,6 +1,7 @@
import selectors from '../../helpers/selectors.js';
import createNightmare from '../../helpers/helpers';
describe('Client', () => {
describe('mandate path', () => {
const nightmare = createNightmare();
@ -56,3 +57,4 @@ describe('mandate path', () => {
});
});
});
});

View File

@ -1,6 +1,7 @@
import selectors from '../../helpers/selectors.js';
import createNightmare from '../../helpers/helpers';
describe('Client', () => {
describe('lock verified data path', () => {
const nightmare = createNightmare();
@ -470,3 +471,4 @@ describe('lock verified data path', () => {
});
});
});
});

View File

@ -1,6 +1,7 @@
import selectors from '../../helpers/selectors.js';
import createNightmare from '../../helpers/helpers';
describe('Client', () => {
describe('invoice path', () => {
const nightmare = createNightmare();
@ -55,3 +56,4 @@ describe('invoice path', () => {
});
});
});
});

View File

@ -1,7 +1,8 @@
import selectors from '../../helpers/selectors.js';
import createNightmare from '../../helpers/helpers';
describe('Item summary path', () => {
describe('Item', () => {
describe('Summary path', () => {
const nightmare = createNightmare();
beforeAll(() => {
@ -151,3 +152,4 @@ describe('Item summary path', () => {
});
});
});
});

View File

@ -1,7 +1,8 @@
import selectors from '../../helpers/selectors.js';
import createNightmare from '../../helpers/helpers';
describe('edit item basic data path', () => {
describe('Item', () => {
describe('Edit basic data path', () => {
const nightmare = createNightmare();
beforeAll(() => {
@ -116,3 +117,4 @@ describe('edit item basic data path', () => {
});
});
});
});

View File

@ -1,7 +1,8 @@
import selectors from '../../helpers/selectors.js';
import createNightmare from '../../helpers/helpers';
describe('add item tax path', () => {
describe('Item', () => {
describe('Edit tax path', () => {
const nightmare = createNightmare();
beforeAll(() => {
@ -80,3 +81,4 @@ describe('add item tax path', () => {
});
});
});
});

View File

@ -1,7 +1,8 @@
import selectors from '../../helpers/selectors.js';
import createNightmare from '../../helpers/helpers';
describe('create item tags path', () => {
describe('Item', () => {
describe('Create tags path', () => {
const nightmare = createNightmare();
beforeAll(() => {
@ -197,3 +198,4 @@ describe('create item tags path', () => {
});
});
});
});

View File

@ -1,7 +1,8 @@
import selectors from '../../helpers/selectors.js';
import createNightmare from '../../helpers/helpers';
describe('create item niche path', () => {
describe('Item', () => {
describe('Create niche path', () => {
const nightmare = createNightmare();
beforeAll(() => {
@ -100,3 +101,4 @@ describe('create item niche path', () => {
});
});
});
});

View File

@ -1,7 +1,8 @@
import selectors from '../../helpers/selectors.js';
import createNightmare from '../../helpers/helpers';
describe('create item botanical path', () => {
describe('Item', () => {
describe('Create botanical path', () => {
const nightmare = createNightmare();
beforeAll(() => {
@ -130,3 +131,4 @@ describe('create item botanical path', () => {
});
});
});
});

View File

@ -1,7 +1,8 @@
import selectors from '../../helpers/selectors.js';
import createNightmare from '../../helpers/helpers';
describe('create item barcodes path', () => {
describe('Item', () => {
describe('Create barcodes path', () => {
const nightmare = createNightmare();
beforeAll(() => {
@ -68,3 +69,4 @@ describe('create item barcodes path', () => {
});
});
});
});

View File

@ -2,6 +2,7 @@ import selectors from '../../helpers/selectors.js';
import createNightmare from '../../helpers/helpers';
describe('Item', () => {
describe('Create path', () => {
const nightmare = createNightmare();
beforeAll(() => {
@ -9,7 +10,6 @@ describe('Item', () => {
.waitForLogin('developer');
});
describe('create path', () => {
it('should access to the items index by clicking the items button', () => {
return nightmare
.click(selectors.moduleAccessView.itemsSectionButton)
@ -83,7 +83,7 @@ describe('Item', () => {
});
});
describe('clone path', () => {
describe('Clone path', () => {
it('should return to the items index by clicking the return to items button', () => {
return nightmare
.click(selectors.itemBasicData.goToItemIndexButton)

View File

@ -1,7 +1,8 @@
import selectors from '../../helpers/selectors.js';
import createNightmare from '../../helpers/helpers';
describe('create ticket notes path', () => {
describe('Ticket', () => {
describe('Create notes path', () => {
const nightmare = createNightmare();
beforeAll(() => {
@ -75,3 +76,4 @@ describe('create ticket notes path', () => {
});
});
});
});

View File

@ -1,7 +1,8 @@
import selectors from '../../helpers/selectors.js';
import createNightmare from '../../helpers/helpers';
describe('delete ticket expeditions path', () => {
describe('Ticket', () => {
describe('Delete expeditions path', () => {
const nightmare = createNightmare();
beforeAll(() => {
@ -57,3 +58,4 @@ describe('delete ticket expeditions path', () => {
});
});
});
});

View File

@ -1,7 +1,8 @@
import selectors from '../../helpers/selectors.js';
import createNightmare from '../../helpers/helpers';
describe('list sale path', () => {
describe('Ticket', () => {
describe('List sale path', () => {
const nightmare = createNightmare();
beforeAll(() => {
@ -71,3 +72,4 @@ describe('list sale path', () => {
});
});
});
});

View File

@ -1,7 +1,8 @@
import selectors from '../../helpers/selectors.js';
import createNightmare from '../../helpers/helpers';
describe('create ticket packages path', () => {
describe('Ticket', () => {
describe('Create packages path', () => {
const nightmare = createNightmare();
beforeAll(() => {
@ -124,3 +125,4 @@ describe('create ticket packages path', () => {
});
});
});
});