aboutsummaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/cypress
diff options
context:
space:
mode:
authorRina Roi <rina.roi@intl.att.com>2019-08-07 10:14:08 +0300
committerRina Roi <rina.roi@intl.att.com>2019-08-07 10:14:08 +0300
commit7ec34a110f0060a73bd9db9d4efdaf53245fbbd2 (patch)
tree8be67b88a9c0d612755a4553fa23429a0f81a8ba /vid-webpack-master/cypress
parent0f4ce01009431809482c3d9fb041a565279242c7 (diff)
Use lcpRegionOptionId as value in resume
Issue-ID: VID-482 Signed-off-by: Rina Roi <rina.roi@intl.att.com> Change-Id: Ibe617ba739db8e6217362a8009dedc9bd3465239
Diffstat (limited to 'vid-webpack-master/cypress')
-rw-r--r--vid-webpack-master/cypress/integration/iFrames/resume.e2e.ts3
-rw-r--r--vid-webpack-master/cypress/support/jsonBuilders/mocks/jsons/defect710619/expectedResumeWithVGResults.json3
2 files changed, 4 insertions, 2 deletions
diff --git a/vid-webpack-master/cypress/integration/iFrames/resume.e2e.ts b/vid-webpack-master/cypress/integration/iFrames/resume.e2e.ts
index 65913d46b..cec915a91 100644
--- a/vid-webpack-master/cypress/integration/iFrames/resume.e2e.ts
+++ b/vid-webpack-master/cypress/integration/iFrames/resume.e2e.ts
@@ -84,6 +84,7 @@ describe('Resume tests', function () {
status : 200,
url : Cypress.config('baseUrl') + "/flags**",
response : {
+ "FLAG_1810_CR_ADD_CLOUD_OWNER_TO_MSO_REQUEST" : true,
"FLAG_ADD_MSO_TESTAPI_FIELD": true,
"FLAG_1810_CR_SOFT_DELETE_ALACARTE_VF_MODULE": false
}
@@ -103,7 +104,7 @@ describe('Resume tests', function () {
.getElementByDataTestsId('resumeVFModuleButton-' + vfModuleName).click().then(()=> {
cy.getElementByDataTestsId('confirmResumeDeleteButton').should('be.visible')
.getElementByDataTestsId('softDeleteButton').should('not.be.visible')
- .getElementByDataTestsId('lcpRegion').should('be.visible').select("hvf6")
+ .getElementByDataTestsId('lcpRegion').should('be.visible').select("option-irma-aic-hvf6")
.getElementByDataTestsId('tenant').should('be.visible').select("bae71557c5bb4d5aac6743a4e5f1d054");
cy.getElementByDataTestsId('confirmResumeDeleteButton').not('.button--inactive').click().then(()=> {
cy.wait('@actualResumeCall').then(xhr => {
diff --git a/vid-webpack-master/cypress/support/jsonBuilders/mocks/jsons/defect710619/expectedResumeWithVGResults.json b/vid-webpack-master/cypress/support/jsonBuilders/mocks/jsons/defect710619/expectedResumeWithVGResults.json
index 53cb341a1..d10c2bd32 100644
--- a/vid-webpack-master/cypress/support/jsonBuilders/mocks/jsons/defect710619/expectedResumeWithVGResults.json
+++ b/vid-webpack-master/cypress/support/jsonBuilders/mocks/jsons/defect710619/expectedResumeWithVGResults.json
@@ -22,7 +22,8 @@
},
"cloudConfiguration": {
"lcpCloudRegionId": "hvf6",
- "tenantId": "bae71557c5bb4d5aac6743a4e5f1d054"
+ "tenantId": "bae71557c5bb4d5aac6743a4e5f1d054",
+ "cloudOwner": "irma-aic"
},
"relatedInstanceList": [{
"relatedInstance": {