summaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/cypress/integration/iFrames
diff options
context:
space:
mode:
authorEinat Vinouze <einat.vinouze@intl.att.com>2019-09-03 14:52:13 +0300
committerIttay Stern <ittay.stern@att.com>2019-09-03 12:58:52 +0000
commit91d3f65455177e10eb22d639afcc00cde6ad90a2 (patch)
tree10b8a859120a5bbbc61aad3fc8356543d52e971c /vid-webpack-master/cypress/integration/iFrames
parentda094bf82ae74443afeb50d86712eb5e784b481d (diff)
change management cypress
This is the very first cypress test for change management Issue-ID: VID-596 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Change-Id: Ib3ddc5d88504392281dbd25c3d6688714a01a643
Diffstat (limited to 'vid-webpack-master/cypress/integration/iFrames')
-rw-r--r--vid-webpack-master/cypress/integration/iFrames/changeManagement.e2e.ts39
1 files changed, 39 insertions, 0 deletions
diff --git a/vid-webpack-master/cypress/integration/iFrames/changeManagement.e2e.ts b/vid-webpack-master/cypress/integration/iFrames/changeManagement.e2e.ts
new file mode 100644
index 000000000..b5a01be09
--- /dev/null
+++ b/vid-webpack-master/cypress/integration/iFrames/changeManagement.e2e.ts
@@ -0,0 +1,39 @@
+///<reference path="../../../node_modules/cypress/types/index.d.ts"/> / <reference types="Cypress" />
+
+import {JsonBuilder} from "../../support/jsonBuilders/jsonBuilder";
+import {AAISubDetailsModel} from "../../support/jsonBuilders/models/aaiSubDetails.model";
+
+describe('Change management AKA VNF changes', function () {
+ var jsonBuilderAAISubDetailsModel: JsonBuilder<AAISubDetailsModel> = new JsonBuilder<AAISubDetailsModel>();
+
+ //describe('Contact us', () => {
+
+ beforeEach(() => {
+ cy.login();
+ cy.initAAIMock();
+
+ cy.readFile('/cypress/support/jsonBuilders/mocks/jsons/defect710619/aaiSubDetailsE2E.json').then((res) => {
+ jsonBuilderAAISubDetailsModel.basicJson(
+ res,
+ Cypress.config('baseUrl') + "/aai_sub_details/e433710f-9217-458d-a79d-1c7aff376d89**",
+ 200,
+ 0,
+ "aai-sub-details")
+ });
+
+ });
+
+ afterEach(() => {
+ cy.screenshot();
+ });
+
+ it(`verifying + VNF changes`, function () {
+ cy.visit('/serviceModels.htm#/change-management');
+ cy.getElementByDataTestsId('create-new-change-management').click();
+ cy.getElementByDataTestsId('newChangeManagementForm');
+ cy.selectDropdownOptionByText('subscriberName', 'SILVIA ROBBINS');
+ cy.selectDropdownOptionByText('serviceType', 'TYLER SILVIA');
+ });
+});
+
+