commit | 607ea3dac27af31e3c8571b4f170dc7fd5c3b3b1 | [log] [tgz] |
---|---|---|
author | Ittay Stern <ittay.stern@att.com> | Wed Oct 23 17:10:52 2019 +0300 |
committer | Ittay Stern <ittay.stern@att.com> | Thu Oct 24 08:25:01 2019 +0000 |
tree | 357112f71483376c0965a87a0a4e93cb1facca98 | |
parent | d5ee5305be7f747aaddd3493485d6f029f72817b [diff] [blame] |
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>
diff --git a/vid-webpack-master/cypress/integration/iFrames/instantiationStatus.e2e.ts b/vid-webpack-master/cypress/integration/iFrames/instantiationStatus.e2e.ts index b358ad2..90dbcdd 100644 --- a/vid-webpack-master/cypress/integration/iFrames/instantiationStatus.e2e.ts +++ b/vid-webpack-master/cypress/integration/iFrames/instantiationStatus.e2e.ts
@@ -16,7 +16,7 @@ cy.preventErrorsOnLoading(); cy.initAAIMock(); cy.initVidMock(); - jsonBuilderInstantiationBuilder.basicMock('/cypress/support/jsonBuilders/mocks/jsons/asyncInstantiation.json', + jsonBuilderInstantiationBuilder.basicMock('cypress/support/jsonBuilders/mocks/jsons/asyncInstantiation.json', Cypress.config('baseUrl') + "/asyncInstantiation**", (res: any) => { asyncRes = res; @@ -90,5 +90,5 @@ cy.get('.dropdown-menu').find('.disabled').find(`[data-tests-id='context-menu-hide']`).should('not.exist'); cy.get('.dropdown-menu').find('.disabled').find(`[data-tests-id='context-menu-audit-info']`).should('not.exist'); }); - + });