added summary state check to e2e path
This commit is contained in:
parent
3b73e1bee2
commit
7711367e35
|
@ -80,6 +80,7 @@ describe('Travel descriptor path', () => {
|
||||||
|
|
||||||
it('should navigate to the summary and then clone the travel and its entries using the descriptor menu to get redirected to the cloned travel basic data', async() => {
|
it('should navigate to the summary and then clone the travel and its entries using the descriptor menu to get redirected to the cloned travel basic data', async() => {
|
||||||
await page.waitToClick('vn-icon[icon="preview"]'); // summary icon
|
await page.waitToClick('vn-icon[icon="preview"]'); // summary icon
|
||||||
|
await page.waitForState('travel.card.summary');
|
||||||
await page.waitToClick(selectors.travelDescriptor.dotMenu);
|
await page.waitToClick(selectors.travelDescriptor.dotMenu);
|
||||||
await page.waitToClick(selectors.travelDescriptor.dotMenuCloneWithEntries);
|
await page.waitToClick(selectors.travelDescriptor.dotMenuCloneWithEntries);
|
||||||
await page.waitToClick(selectors.travelDescriptor.acceptClonation);
|
await page.waitToClick(selectors.travelDescriptor.acceptClonation);
|
||||||
|
|
Loading…
Reference in New Issue