mini refactor on e2e paths to show module on first describe
This commit is contained in:
parent
e1495c652d
commit
694543a2da
|
@ -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', () => {
|
|||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
@ -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', () => {
|
|||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
@ -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', () => {
|
|||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
@ -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', () => {
|
|||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
@ -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', () => {
|
|||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
@ -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 @@
|
|||
// });
|
||||
// });
|
||||
// });
|
||||
// });
|
||||
|
||||
|
|
|
@ -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', () => {
|
|||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
@ -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', () => {
|
|||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
@ -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', () => {
|
|||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
@ -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', () => {
|
|||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
@ -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', () => {
|
|||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
@ -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', () => {
|
|||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
@ -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', () => {
|
|||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
@ -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', () => {
|
|||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
@ -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', () => {
|
|||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
@ -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', () => {
|
|||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
@ -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', () => {
|
|||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
@ -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', () => {
|
|||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
@ -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', () => {
|
|||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
@ -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', () => {
|
|||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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', () => {
|
|||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
@ -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', () => {
|
|||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
@ -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', () => {
|
|||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
@ -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', () => {
|
|||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue