summaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/cypress/integration/iFrames/browse-sdc.e2e.ts
diff options
context:
space:
mode:
authorIttay Stern <ittay.stern@att.com>2019-10-23 17:10:52 +0300
committerIttay Stern <ittay.stern@att.com>2019-10-24 08:25:01 +0000
commit607ea3dac27af31e3c8571b4f170dc7fd5c3b3b1 (patch)
tree357112f71483376c0965a87a0a4e93cb1facca98 /vid-webpack-master/cypress/integration/iFrames/browse-sdc.e2e.ts
parentd5ee5305be7f747aaddd3493485d6f029f72817b (diff)
Cypress>=3.3.1 readFile() does not expect a relative file-path starting with /
See: https://github.com/cypress-io/cypress/issues/4352#issuecomment-507963062 Issue-ID: VID-687 Change-Id: I4f3292e80d22d217d9bd33c685766efd5a8f4d8f Signed-off-by: Ittay Stern <ittay.stern@att.com>
Diffstat (limited to 'vid-webpack-master/cypress/integration/iFrames/browse-sdc.e2e.ts')
-rw-r--r--vid-webpack-master/cypress/integration/iFrames/browse-sdc.e2e.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/vid-webpack-master/cypress/integration/iFrames/browse-sdc.e2e.ts b/vid-webpack-master/cypress/integration/iFrames/browse-sdc.e2e.ts
index e787aa76c..ff43936a2 100644
--- a/vid-webpack-master/cypress/integration/iFrames/browse-sdc.e2e.ts
+++ b/vid-webpack-master/cypress/integration/iFrames/browse-sdc.e2e.ts
@@ -29,7 +29,7 @@ describe('Browse SDC', function () {
const MACRO_FOR_NEW_FLOW_ID: string = '74fa72dd-012b-49c3-800d-06b12bcaf1a0';
const CANCEL_BUTTON = "cancelButton";
- cy.readFile('/cypress/support/jsonBuilders/mocks/jsons/bug616888/list-services.json').then((res) => {
+ cy.readFile('cypress/support/jsonBuilders/mocks/jsons/bug616888/list-services.json').then((res) => {
jsonBuilderAndMock.basicJson(res,
Cypress.config('baseUrl') + '/rest/models/services?distributionStatus=DISTRIBUTED',
200,
@@ -37,7 +37,7 @@ describe('Browse SDC', function () {
'list_services');
});
- cy.readFile('/cypress/support/jsonBuilders/mocks/jsons/bug616888/service-with-configuration.json').then((res) => {
+ cy.readFile('cypress/support/jsonBuilders/mocks/jsons/bug616888/service-with-configuration.json').then((res) => {
jsonBuilderAndMock.basicJson(res,
Cypress.config('baseUrl') + '/rest/models/services/' + MACRO_WITH_NETWORK_ID,
200,
@@ -45,7 +45,7 @@ describe('Browse SDC', function () {
'MACRO_WITH_CONFIGURATION');
});
- cy.readFile('/cypress/support/jsonBuilders/mocks/jsons/bug616888/Dror_service1806_Macro1.json').then((res) => {
+ cy.readFile('cypress/support/jsonBuilders/mocks/jsons/bug616888/Dror_service1806_Macro1.json').then((res) => {
jsonBuilderAndMock.basicJson(res,
Cypress.config('baseUrl') + '/rest/models/services/' + MACRO_FOR_NEW_FLOW_ID,
200,
@@ -67,7 +67,7 @@ describe('Browse SDC', function () {
it(`browse sdc of service without instantiationType open aLaCarte popup`, function () {
const VERY_OLD_SERVICE_UUID: string = "09c476c7-91ae-44b8-a731-04d8d8fa3695";
- const TEST_MOCKS_PATH="/cypress/support/jsonBuilders/mocks/jsons/bug_aLaCarteServiceWrongPopup/";
+ const TEST_MOCKS_PATH="cypress/support/jsonBuilders/mocks/jsons/bug_aLaCarteServiceWrongPopup/";
const CANCEL_BUTTON = "cancelButton";