summaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/cypress/integration/iFrames/network.popup.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/network.popup.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/network.popup.e2e.ts')
-rw-r--r--vid-webpack-master/cypress/integration/iFrames/network.popup.e2e.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/vid-webpack-master/cypress/integration/iFrames/network.popup.e2e.ts b/vid-webpack-master/cypress/integration/iFrames/network.popup.e2e.ts
index ec471aed6..387f34725 100644
--- a/vid-webpack-master/cypress/integration/iFrames/network.popup.e2e.ts
+++ b/vid-webpack-master/cypress/integration/iFrames/network.popup.e2e.ts
@@ -148,7 +148,7 @@ describe('Network popup', function () {
const SERVICE_INSTANCE_ID: string = "f8791436-8d55-4fde-b4d5-72dd2cf13cfb";
const SERVICE_MODEL_ID: string = '6b528779-44a3-4472-bdff-9cd15ec93450';
- cy.readFile('/cypress/support/jsonBuilders/mocks/jsons/basicNetworkModel.json').then((res) => {
+ cy.readFile('cypress/support/jsonBuilders/mocks/jsons/basicNetworkModel.json').then((res) => {
jsonBuilderAndMock.basicJson(res,
Cypress.config('baseUrl') + '/rest/models/services/6b528779-44a3-4472-bdff-9cd15ec93450',
200,
@@ -156,7 +156,7 @@ describe('Network popup', function () {
'initServiceModel');
});
- cy.readFile('/cypress/support/jsonBuilders/mocks/jsons/basicNetworkInstance.json').then((res) => {
+ cy.readFile('cypress/support/jsonBuilders/mocks/jsons/basicNetworkInstance.json').then((res) => {
jsonBuilderAndMock.basicJson(
res,
Cypress.config('baseUrl') + "/aai_get_service_instance_topology/e433710f-9217-458d-a79d-1c7aff376d89/TYLER SILVIA/f8791436-8d55-4fde-b4d5-72dd2cf13cfb",