diff options
author | Eylon Malin <eylon.malin@intl.att.com> | 2020-01-02 14:08:31 +0200 |
---|---|---|
committer | Eylon Malin <eylon.malin@intl.att.com> | 2020-01-02 14:08:31 +0200 |
commit | fa4d3e58748b5e35961f40bfec579ab8c14bae95 (patch) | |
tree | a3d25eb863f8a11198da8ab1f62fbf0ad2a076df /vid-webpack-master/cypress/integration/iFrames/instantiation.templates.modal.e2e.ts | |
parent | 3ae14200731cd37967e5cad9802ec9fb3f5cd078 (diff) |
cypress test - assertion that use vidBaseUrl taken from cypress config
Issue-ID: VID-740
Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
Change-Id: I7bbcaf06d965172c9a92c4e890b8941960d3df7c
Diffstat (limited to 'vid-webpack-master/cypress/integration/iFrames/instantiation.templates.modal.e2e.ts')
-rw-r--r-- | vid-webpack-master/cypress/integration/iFrames/instantiation.templates.modal.e2e.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vid-webpack-master/cypress/integration/iFrames/instantiation.templates.modal.e2e.ts b/vid-webpack-master/cypress/integration/iFrames/instantiation.templates.modal.e2e.ts index 7fb7ea584..73d311555 100644 --- a/vid-webpack-master/cypress/integration/iFrames/instantiation.templates.modal.e2e.ts +++ b/vid-webpack-master/cypress/integration/iFrames/instantiation.templates.modal.e2e.ts @@ -125,7 +125,7 @@ describe('Template', () => { .getElementByDataTestsId('templateButton').click({force: true}) // Open template Modal const serviceModelId = '5c9e863f-2716-467b-8799-4a67f378dcaa'; - const vidBaseUrl = `http://localhost:8080/vid/serviceModels.htm`; + const vidBaseUrl = `${Cypress.config().baseUrl}/serviceModels.htm`; cy.getElementByDataTestsId(`row-${templateJobIdFromE2EFile}`).click(); cy.getElementByDataTestsId('LoadTemplateButton').click().setViewportToDefault(); |