aboutsummaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/cypress
diff options
context:
space:
mode:
authorIttay Stern <ittay.stern@att.com>2019-10-24 14:05:12 +0300
committerIttay Stern <ittay.stern@att.com>2019-10-29 13:24:22 +0000
commitb0a5365842404f32667ba6cbda12853323624eaf (patch)
tree857f45fecbd2a2d8dc7afb08057da464cbb8b351 /vid-webpack-master/cypress
parent6b3717d92d93e756f30c84e89dd5873226907e62 (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: I5f5f34be85ec2d3401cdf01f4259c2b5d02da37c Signed-off-by: Ittay Stern <ittay.stern@att.com>
Diffstat (limited to 'vid-webpack-master/cypress')
-rw-r--r--vid-webpack-master/cypress/integration/iFrames/changeManagement.e2e.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/vid-webpack-master/cypress/integration/iFrames/changeManagement.e2e.ts b/vid-webpack-master/cypress/integration/iFrames/changeManagement.e2e.ts
index 219ffadda..a48ed4a9f 100644
--- a/vid-webpack-master/cypress/integration/iFrames/changeManagement.e2e.ts
+++ b/vid-webpack-master/cypress/integration/iFrames/changeManagement.e2e.ts
@@ -23,7 +23,7 @@ describe('Change management AKA VNF changes', function () {
"aai-sub-details")
});
- cy.readFile('/cypress/support/jsonBuilders/mocks/jsons/flags.json').then(() => {
+ cy.readFile('cypress/support/jsonBuilders/mocks/jsons/flags.json').then(() => {
cy.server()
.route({
method: 'GET',
@@ -38,7 +38,7 @@ describe('Change management AKA VNF changes', function () {
}).as('initFlags');
});
- cy.readFile('/cypress/support/jsonBuilders/mocks/jsons/get_vnf_data.json').then((res) => {
+ cy.readFile('cypress/support/jsonBuilders/mocks/jsons/get_vnf_data.json').then((res) => {
jsonBuilderVnfData.basicJson(
res,
aaiGetVNFDataUrl + '**',