From 2f280dd382da38170f67bedad1b820d13ccc7899 Mon Sep 17 00:00:00 2001 From: Gianfranco Paoloni Date: Fri, 26 Aug 2022 12:21:21 -0300 Subject: [PATCH] Tests go to /agent-desktop before running (#887) --- e2e-tests/tests/offlineContact.spec.ts | 2 +- e2e-tests/tests/webchat.spec.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e-tests/tests/offlineContact.spec.ts b/e2e-tests/tests/offlineContact.spec.ts index 995fb8b037..8912f1ad69 100644 --- a/e2e-tests/tests/offlineContact.spec.ts +++ b/e2e-tests/tests/offlineContact.spec.ts @@ -15,7 +15,7 @@ test.describe.serial('Offline Contact (with Case)', () => { await Promise.all([ // Wait for this to be sure counsellors dropdown is populated pluginPage.waitForResponse('**/populateCounselors'), - pluginPage.goto('/', { waitUntil: 'networkidle', timeout: 120000 }), + pluginPage.goto('/agent-desktop', { waitUntil: 'networkidle', timeout: 120000 }), ]); console.log('Plugin page visited.'); }); diff --git a/e2e-tests/tests/webchat.spec.ts b/e2e-tests/tests/webchat.spec.ts index 7fff31b3f8..25e61e9c40 100644 --- a/e2e-tests/tests/webchat.spec.ts +++ b/e2e-tests/tests/webchat.spec.ts @@ -22,7 +22,7 @@ test.describe.serial('Web chat caller', () => { pluginPage = await browser.newPage(); logPageTelemetry(pluginPage); console.log('Plugin page browser session launched.'); - await pluginPage.goto('/', { waitUntil: 'networkidle', timeout: 120000 }); + await pluginPage.goto('/agent-desktop', { waitUntil: 'networkidle', timeout: 120000 }); console.log('Plugin page visited.'); chatPage = await webchat.open(browser); console.log('Webchat browser session launched.');