edit e2e client web access
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
ecf1a1159c
commit
201c6173e2
|
@ -39,4 +39,18 @@ describe('Client Edit web access path', () => {
|
||||||
|
|
||||||
expect(result).toEqual('Hulk');
|
expect(result).toEqual('Hulk');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
it(`should navigate to the log section`, async() => {
|
||||||
|
await page.accessToSection('client.card.log');
|
||||||
|
});
|
||||||
|
|
||||||
|
it(`should confirm the log is showing the updated data for the client`, async() => {
|
||||||
|
let lastModificationPreviousValue = await page
|
||||||
|
.waitToGetProperty(selectors.clientLog.lastModificationPreviousValue, 'innerText');
|
||||||
|
let lastModificationCurrentValue = await page
|
||||||
|
.waitToGetProperty(selectors.clientLog.lastModificationCurrentValue, 'innerText');
|
||||||
|
|
||||||
|
expect(lastModificationPreviousValue).toEqual('name: BruceBanner active: true');
|
||||||
|
expect(lastModificationCurrentValue).toEqual('name: Hulk active: false');
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
|
@ -46,7 +46,6 @@ describe('Item log path', () => {
|
||||||
it(`should search for the created item and navigate to it's log section`, async() => {
|
it(`should search for the created item and navigate to it's log section`, async() => {
|
||||||
await page.accessToSearchResult('Knowledge artifact');
|
await page.accessToSearchResult('Knowledge artifact');
|
||||||
await page.accessToSection('item.card.log');
|
await page.accessToSection('item.card.log');
|
||||||
await page.waitForState('item.card.log');
|
|
||||||
});
|
});
|
||||||
|
|
||||||
it(`should confirm the log is showing 5 entries`, async() => {
|
it(`should confirm the log is showing 5 entries`, async() => {
|
||||||
|
|
Loading…
Reference in New Issue