commit | b0a5365842404f32667ba6cbda12853323624eaf | [log] [tgz] |
---|---|---|
author | Ittay Stern <ittay.stern@att.com> | Thu Oct 24 14:05:12 2019 +0300 |
committer | Ittay Stern <ittay.stern@att.com> | Tue Oct 29 13:24:22 2019 +0000 |
tree | 857f45fecbd2a2d8dc7afb08057da464cbb8b351 | |
parent | 6b3717d92d93e756f30c84e89dd5873226907e62 [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>
diff --git a/vid-webpack-master/cypress/integration/iFrames/changeManagement.e2e.ts b/vid-webpack-master/cypress/integration/iFrames/changeManagement.e2e.ts index 219ffad..a48ed4a 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 @@ "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 @@ }).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 + '**',