#777 e2e item.log
This commit is contained in:
parent
7a5124aca2
commit
6173b55d45
|
@ -59,14 +59,17 @@ describe('Item log path', () => {
|
|||
expect(url.hash).toContain('/log');
|
||||
});
|
||||
|
||||
it(`should search for the created item and navigate to it's log section`, async() => {
|
||||
it(`should confirm the log is showing the created item temporary name`, async() => {
|
||||
const fourthLineCreatedProperty = await nightmare
|
||||
.waitToGetProperty(selectors.itemLog.fourthLineCreatedProperty, 'innerText');
|
||||
|
||||
expect(fourthLineCreatedProperty).toEqual('Knowledge artifact');
|
||||
});
|
||||
|
||||
it(`should confirm the log is showing the intrastat for the created item`, async() => {
|
||||
const fifthLineCreatedProperty = await nightmare
|
||||
.waitToGetProperty(selectors.itemLog.fifthLineCreatedProperty, 'innerText');
|
||||
|
||||
expect(fourthLineCreatedProperty).toEqual('Knowledge artifact');
|
||||
expect(fifthLineCreatedProperty).toEqual('5080000');
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue