Updated E2E
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
78313bd9a7
commit
55b3a048e7
|
@ -31,7 +31,7 @@ describe('Client create path', () => {
|
||||||
await page.write(selectors.createClientView.taxNumber, '74451390E');
|
await page.write(selectors.createClientView.taxNumber, '74451390E');
|
||||||
await page.write(selectors.createClientView.userName, 'CaptainMarvel');
|
await page.write(selectors.createClientView.userName, 'CaptainMarvel');
|
||||||
await page.write(selectors.createClientView.email, 'CarolDanvers@verdnatura.es');
|
await page.write(selectors.createClientView.email, 'CarolDanvers@verdnatura.es');
|
||||||
await page.autocompleteSearch(selectors.createClientView.salesPerson, 'replenisher');
|
await page.autocompleteSearch(selectors.createClientView.salesPerson, 'salesPerson');
|
||||||
await page.waitToClick(selectors.createClientView.createButton);
|
await page.waitToClick(selectors.createClientView.createButton);
|
||||||
const message = await page.waitForSnackbar();
|
const message = await page.waitForSnackbar();
|
||||||
|
|
||||||
|
|
|
@ -96,7 +96,7 @@ describe('Client Edit basicData path', () => {
|
||||||
await page.write(selectors.clientBasicData.phone, '333333333');
|
await page.write(selectors.clientBasicData.phone, '333333333');
|
||||||
await page.clearInput(selectors.clientBasicData.mobile);
|
await page.clearInput(selectors.clientBasicData.mobile);
|
||||||
await page.write(selectors.clientBasicData.mobile, '444444444');
|
await page.write(selectors.clientBasicData.mobile, '444444444');
|
||||||
await page.autocompleteSearch(selectors.clientBasicData.salesPerson, 'replenisherNick');
|
await page.autocompleteSearch(selectors.clientBasicData.salesPerson, 'salesPerson');
|
||||||
await page.autocompleteSearch(selectors.clientBasicData.channel, 'Metropolis newspaper');
|
await page.autocompleteSearch(selectors.clientBasicData.channel, 'Metropolis newspaper');
|
||||||
await page.waitToClick(selectors.clientBasicData.saveButton);
|
await page.waitToClick(selectors.clientBasicData.saveButton);
|
||||||
const message = await page.waitForSnackbar();
|
const message = await page.waitForSnackbar();
|
||||||
|
@ -143,7 +143,7 @@ describe('Client Edit basicData path', () => {
|
||||||
const result = await page
|
const result = await page
|
||||||
.waitToGetProperty(selectors.clientBasicData.salesPerson, 'value');
|
.waitToGetProperty(selectors.clientBasicData.salesPerson, 'value');
|
||||||
|
|
||||||
expect(result).toEqual('replenisherNick');
|
expect(result).toEqual('salesPersonNick');
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should now confirm the channel have been selected', async() => {
|
it('should now confirm the channel have been selected', async() => {
|
||||||
|
|
Loading…
Reference in New Issue