aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/main
diff options
context:
space:
mode:
authorRachelF <rachel.fishbein@intl.att.com>2019-08-04 12:44:05 +0300
committerRachelF <rachel.fishbein@intl.att.com>2019-08-04 12:44:05 +0300
commitcaf54c720010ddb6ef454f7e98ca5b31ee462a31 (patch)
tree148f9e2675bcb2b821324c86ca1666682e0f7112 /vid-app-common/src/main
parent95ea3bac38467090417056254ef6e4b3165e27d7 (diff)
Resolving some tests in CreatePortMirroringConfigurationTest by merging instantiate.html ecomp+onap
Issue-ID: VID-546 Signed-off-by: RachelF <rachel.fishbein@intl.att.com> Change-Id: Icf4ffd6c2eb26cb5cf5842f9d6bfb153431d136b
Diffstat (limited to 'vid-app-common/src/main')
-rwxr-xr-xvid-app-common/src/main/webapp/app/vid/scripts/view-models/instantiate.htm38
1 files changed, 19 insertions, 19 deletions
diff --git a/vid-app-common/src/main/webapp/app/vid/scripts/view-models/instantiate.htm b/vid-app-common/src/main/webapp/app/vid/scripts/view-models/instantiate.htm
index ceccb0af9..f80f924b3 100755
--- a/vid-app-common/src/main/webapp/app/vid/scripts/view-models/instantiate.htm
+++ b/vid-app-common/src/main/webapp/app/vid/scripts/view-models/instantiate.htm
@@ -20,19 +20,19 @@
<div>
- <div popup-window class="popupContents" ngx-show="{{popup.isVisible}}"
- ng-cloak>
- <div ng-include="'app/vid/scripts/view-models/creationDialog.htm'"></div>
- <div ng-include="'app/vid/scripts/view-models/deleteResumeDialog.htm'"></div>
- <div ng-include="'app/vid/scripts/view-models/detailsDialog.htm'"></div>
- <div ng-include="'app/vid/scripts/view-models/statusDialog.htm'"></div>
- <div ng-include="'app/vid/scripts/view-models/iframeDialog.htm'"></div>
- </div>
- <div ng-controller="aaiSubscriberController" ng-init="getComponentList() ">
- <div class="statusLine" ng-class="{true:'aaiVisible', false:'aaiHidden'}[isSpinnerVisible]">
- <img src="app/vid/images/spinner.gif"></img>
- <label>Status:</label><span class="status">{{status}}</span>
- </div>
+ <div popup-window class="popupContents" ngx-show="{{popup.isVisible}}"
+ ng-cloak>
+ <div ng-include="'app/vid/scripts/view-models/creationDialog.htm'"></div>
+ <div ng-include="'app/vid/scripts/view-models/deleteResumeDialog.htm'"></div>
+ <div ng-include="'app/vid/scripts/view-models/detailsDialog.htm'"></div>
+ <div ng-include="'app/vid/scripts/view-models/statusDialog.htm'"></div>
+ <div ng-include="'app/vid/scripts/view-models/iframeDialog.htm'"></div>
+ </div>
+ <div ng-controller="aaiSubscriberController" ng-init="getComponentList() ">
+ <div class="statusLine" ng-class="{true:'aaiVisible', false:'aaiHidden'}[isSpinnerVisible]">
+ <img src="app/vid/images/spinner.gif"></img>
+ <label>Status:</label><span class="status">{{status}}</span>
+ </div>
<div class="error-msg" ng-if="errorMsg != null" style="white-space: pre-line"><font color='red'>{{errorMsg}}
<pre>{{errorDetails | json}}</pre>
@@ -394,7 +394,7 @@
<li ng-repeat="vlan in network.vlans" ui-tree-node>
<div ui-tree-handle class="tree-node tree-node-content"
ng-class="'vlansTreeNode'">
- VLAN: {{vlan.vlanIdInner}} | TYPE: VLAN
+ VLAN: {{vlan.vlanIdOuter}} | TYPE: VLAN
</div>
</li>
@@ -429,7 +429,7 @@
<li ng-repeat="vlan in network.vlans" ui-tree-node>
<div ui-tree-handle class="tree-node tree-node-content"
ng-class="'vlansTreeNode'">
- VLAN: {{vlan.vlanIdInner}} | TYPE: VLAN
+ VLAN: {{vlan.vlanIdOuter}} | TYPE: VLAN
</div>
</li>
@@ -452,7 +452,7 @@
<a class="pull-right btn btn-danger btn-xs"
ng-if="!isMacro() && isPermitted && configuration.nodeStatus !== STATUS_CONSTANTS.AAI_ACTIVE"
ng-disabled="!isConfigurationDataAvailiable(configuration)"
- data-tests-id="deleteConfigurationButton"
+ data-tests-id="deleteConfigurationButton-{{configuration.name}}"
data-nodrag
ng-click="deleteConfiguration(aService, configuration)">
<span class="glyphicon glyphicon-remove"></span>
@@ -461,9 +461,9 @@
<a class="pull-right btn btn-primary btn-xs" data-nodrag
ng-click="toggleConfigurationStatus(aService, configuration)"
- ng-if="isPermitted && allowConfigurationActions"
+ ng-if="isPermitted && allowConfigurationActions(configuration)"
ng-disabled="!isConfigurationDataAvailiable(configuration)"
- data-tests-id="activateDeactivateButton">
+ data-tests-id="activateDeactivateButton-{{configuration.name}}">
{{configuration.nodeStatus === STATUS_CONSTANTS.AAI_ACTIVE ? "Deactivate" :
"Activate"}}
</a>
@@ -473,7 +473,7 @@
<div ui-tree-handle class="tree-node tree-node-content">
PORT: {{port.portName}} | ORCH STATUS: {{port.portStatus}}
- <button type="button" data-tests-id="enableDisableButton"
+ <button type="button" data-tests-id="enableDisableButton-{{configuration.name}}-{{port.portName}}"
class="pull-right btn btn-primary btn-xs"
ng-if="configuration.nodeStatus == STATUS_CONSTANTS.AAI_ACTIVE"
ng-disabled="!isConfigurationDataAvailiable(configuration)"