summaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/cypress/support
diff options
context:
space:
mode:
Diffstat (limited to 'vid-webpack-master/cypress/support')
-rw-r--r--vid-webpack-master/cypress/support/application/application.session.actions.ts2
-rw-r--r--vid-webpack-master/cypress/support/jsonBuilders/mocks/aai.mock.ts16
-rw-r--r--vid-webpack-master/cypress/support/jsonBuilders/mocks/vid.mock.ts12
3 files changed, 15 insertions, 15 deletions
diff --git a/vid-webpack-master/cypress/support/application/application.session.actions.ts b/vid-webpack-master/cypress/support/application/application.session.actions.ts
index 84114aa36..42d4d6766 100644
--- a/vid-webpack-master/cypress/support/application/application.session.actions.ts
+++ b/vid-webpack-master/cypress/support/application/application.session.actions.ts
@@ -12,7 +12,7 @@ declare namespace Cypress {
Type to input with id some text
*********************************/
function setReduxState(state?: string) : void {
- cy.readFile('/cypress/support/jsonBuilders/mocks/jsons/basicRedux.json').then((res) => {
+ cy.readFile('cypress/support/jsonBuilders/mocks/jsons/basicRedux.json').then((res) => {
cy.window().then((win) => {
win.sessionStorage.setItem('reduxState', JSON.stringify(state ? state : res));
});
diff --git a/vid-webpack-master/cypress/support/jsonBuilders/mocks/aai.mock.ts b/vid-webpack-master/cypress/support/jsonBuilders/mocks/aai.mock.ts
index acb58c261..669db055c 100644
--- a/vid-webpack-master/cypress/support/jsonBuilders/mocks/aai.mock.ts
+++ b/vid-webpack-master/cypress/support/jsonBuilders/mocks/aai.mock.ts
@@ -11,7 +11,7 @@ declare namespace Cypress {
}
function initGetSubscribers(response? : JSON) : void {
- cy.readFile('/cypress/support/jsonBuilders/mocks/jsons/subscribers.json').then((res) => {
+ cy.readFile('cypress/support/jsonBuilders/mocks/jsons/subscribers.json').then((res) => {
cy.server()
.route({
method: 'GET',
@@ -23,7 +23,7 @@ function initGetSubscribers(response? : JSON) : void {
}
function initAaiGetFullSubscribers(response? : JSON) : void {
- cy.readFile('/cypress/support/jsonBuilders/mocks/jsons/subscribers.json').then((res) => {
+ cy.readFile('cypress/support/jsonBuilders/mocks/jsons/subscribers.json').then((res) => {
cy.server()
.route({
method: 'GET',
@@ -35,7 +35,7 @@ function initAaiGetFullSubscribers(response? : JSON) : void {
}
function initGetAAISubDetails(response? : JSON) : void {
- cy.readFile('/cypress/support/jsonBuilders/mocks/jsons/aaiSubDetails.json').then((res) => {
+ cy.readFile('cypress/support/jsonBuilders/mocks/jsons/aaiSubDetails.json').then((res) => {
cy.server()
.route({
method: 'GET',
@@ -47,7 +47,7 @@ function initGetAAISubDetails(response? : JSON) : void {
}
function initAlaCarteService(response? : JSON) : void {
- cy.readFile('/cypress/support/jsonBuilders/mocks/jsons/a-la-carteService.json').then((res) => {
+ cy.readFile('cypress/support/jsonBuilders/mocks/jsons/a-la-carteService.json').then((res) => {
cy.server()
.route({
method: 'GET',
@@ -63,7 +63,7 @@ function initAlaCarteService(response? : JSON) : void {
function initTenants(response? : JSON) : void {
- cy.readFile('/cypress/support/jsonBuilders/mocks/jsons/tenants.json').then((res) => {
+ cy.readFile('cypress/support/jsonBuilders/mocks/jsons/tenants.json').then((res) => {
cy.server()
.route({
method: 'GET',
@@ -75,7 +75,7 @@ function initTenants(response? : JSON) : void {
}
function initAAIServices(response? : JSON) : void {
- cy.readFile('/cypress/support/jsonBuilders/mocks/jsons/aaiServices.json').then((res) => {
+ cy.readFile('cypress/support/jsonBuilders/mocks/jsons/aaiServices.json').then((res) => {
cy.server()
.route({
method: 'GET',
@@ -87,7 +87,7 @@ function initAAIServices(response? : JSON) : void {
}
function initZones(response? : JSON) : void {
- cy.readFile('/cypress/support/jsonBuilders/mocks/jsons/zones.json').then((res) => {
+ cy.readFile('cypress/support/jsonBuilders/mocks/jsons/zones.json').then((res) => {
cy.server()
.route({
method: 'GET',
@@ -124,7 +124,7 @@ function initActiveNetworks(response? : JSON) : void {
}
function initActiveVPNs(response? : JSON) : void {
- cy.readFile('/cypress/support/jsonBuilders/mocks/jsons/aaiActiveVPNs.json').then((res) => {
+ cy.readFile('cypress/support/jsonBuilders/mocks/jsons/aaiActiveVPNs.json').then((res) => {
cy.server()
.route({
method: 'GET',
diff --git a/vid-webpack-master/cypress/support/jsonBuilders/mocks/vid.mock.ts b/vid-webpack-master/cypress/support/jsonBuilders/mocks/vid.mock.ts
index 9698f47bb..052fb8a4c 100644
--- a/vid-webpack-master/cypress/support/jsonBuilders/mocks/vid.mock.ts
+++ b/vid-webpack-master/cypress/support/jsonBuilders/mocks/vid.mock.ts
@@ -17,7 +17,7 @@ function preventErrorsOnLoading() : void {
}
function initGetToMenuInfo(response? : JSON) : void {
- cy.readFile('/cypress/support/jsonBuilders/mocks/jsons/topMenuInfo.json').then((res) => {
+ cy.readFile('cypress/support/jsonBuilders/mocks/jsons/topMenuInfo.json').then((res) => {
cy.server()
.route({
method: 'GET',
@@ -31,7 +31,7 @@ function initGetToMenuInfo(response? : JSON) : void {
function initCategoryParameter(response? : JSON) : void {
- cy.readFile('/cypress/support/jsonBuilders/mocks/jsons/categoryParametres.json').then((res) => {
+ cy.readFile('cypress/support/jsonBuilders/mocks/jsons/categoryParametres.json').then((res) => {
cy.server()
.route({
method: 'GET',
@@ -43,7 +43,7 @@ function initCategoryParameter(response? : JSON) : void {
}
function initFlags(response? : JSON, delay?: number, status?: number) : void {
- cy.readFile('/cypress/support/jsonBuilders/mocks/jsons/flags.json').then((res) => {
+ cy.readFile('cypress/support/jsonBuilders/mocks/jsons/flags.json').then((res) => {
cy.server()
.route({
method: 'GET',
@@ -56,7 +56,7 @@ function initFlags(response? : JSON, delay?: number, status?: number) : void {
}
function initAuditInfoVID(response? : JSON, delay?: number, status?: number) : void {
- cy.readFile('/cypress/support/jsonBuilders/mocks/jsons/auditInfoVid.json').then((res) => {
+ cy.readFile('cypress/support/jsonBuilders/mocks/jsons/auditInfoVid.json').then((res) => {
cy.server()
.route({
method: 'GET',
@@ -69,7 +69,7 @@ function initAuditInfoVID(response? : JSON, delay?: number, status?: number) : v
}
function initAuditInfoMSO(response? : JSON, delay?: number, status?: number) : void {
- cy.readFile('/cypress/support/jsonBuilders/mocks/jsons/auditInfoMSO.json').then((res) => {
+ cy.readFile('cypress/support/jsonBuilders/mocks/jsons/auditInfoMSO.json').then((res) => {
cy.server()
.route({
method: 'GET',
@@ -95,7 +95,7 @@ function initAuditInfoMSOALaCarte(response? : JSON, delay?: number, status?: num
}
function initAsyncInstantiation(response? : JSON, delay?: number, status?: number) : void {
- cy.readFile('/cypress/support/jsonBuilders/mocks/jsons/basicAsyncInstantiation.json').then((res) => {
+ cy.readFile('cypress/support/jsonBuilders/mocks/jsons/basicAsyncInstantiation.json').then((res) => {
cy.server()
.route({
method: 'GET',