aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEylon Malin <eylon.malin@intl.att.com>2020-01-12 14:54:06 +0000
committerGerrit Code Review <gerrit@onap.org>2020-01-12 14:54:06 +0000
commitffeeef61e55f88324300e47950423f652c595c1e (patch)
tree1c0c829a5f5433db3c5c27439bc1c48a7e2f622a
parent63ab2aa201b213d6b7d5b5b42fed4a76deecf18d (diff)
parent1b6489ab0b08c988369087a3ca3d467a5ef7dfec (diff)
Merge "fix cypress test - rename from hasTemplates to isInstantiationTemplateExists"
-rw-r--r--vid-webpack-master/cypress/integration/iFrames/browse-sdc.e2e.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/vid-webpack-master/cypress/integration/iFrames/browse-sdc.e2e.ts b/vid-webpack-master/cypress/integration/iFrames/browse-sdc.e2e.ts
index 427696561..a71d9424e 100644
--- a/vid-webpack-master/cypress/integration/iFrames/browse-sdc.e2e.ts
+++ b/vid-webpack-master/cypress/integration/iFrames/browse-sdc.e2e.ts
@@ -63,13 +63,13 @@ describe('Browse SDC', function () {
});
- it(`browse sdc should open instantiation template modal if service hasTemplate is true`, function () {
+ it(`browse sdc should open instantiation template modal if service isInstantiationTemplateExists is true`, function () {
const SERVICE_MODEL_ID: string = '74fa72dd-012b-49c3-800d-06b12bcaf1a0';
cy.readFile('cypress/support/jsonBuilders/mocks/jsons/bug616888/list-services.json').then((res) => {
- res.services = res.services.map((service: { uuid: string, hasTemplate: boolean }) => {
+ res.services = res.services.map((service: { uuid: string, isInstantiationTemplateExists: boolean }) => {
if (service.uuid === SERVICE_MODEL_ID) {
- service.hasTemplate = true;
+ service.isInstantiationTemplateExists = true;
}
return service;
});