From 27240339092e89c3171953add14f898a0dae6224 Mon Sep 17 00:00:00 2001 From: carlosjr Date: Thu, 17 Jun 2021 16:17:18 +0200 Subject: [PATCH] added a waitForTimeout to allow descriptor component to load --- e2e/paths/10-travel/03_descriptor.spec.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/e2e/paths/10-travel/03_descriptor.spec.js b/e2e/paths/10-travel/03_descriptor.spec.js index f3d573b9b..d7d38c7af 100644 --- a/e2e/paths/10-travel/03_descriptor.spec.js +++ b/e2e/paths/10-travel/03_descriptor.spec.js @@ -1,7 +1,7 @@ import selectors from '../../helpers/selectors.js'; import getBrowser from '../../helpers/puppeteer'; -// Tarea #2972 -xdescribe('Travel descriptor path', () => { + +describe('Travel descriptor path', () => { let browser; let page; @@ -136,6 +136,7 @@ xdescribe('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() => { await page.waitToClick('vn-icon[icon="preview"]'); // summary icon await page.waitForState('travel.card.summary'); + await page.waitForTimeout(1000); await page.waitToClick(selectors.travelDescriptor.dotMenu); await page.waitToClick(selectors.travelDescriptor.dotMenuCloneWithEntries); await page.waitToClick(selectors.travelDescriptor.acceptClonation);