summaryrefslogtreecommitdiffstats
path: root/vid-automation/src/test
AgeCommit message (Collapse)AuthorFilesLines
2020-02-05Respect permissions by owning-entity-id when searching instances by owning ↵Eylon Malin1-6/+20
entity Issue-ID: VID-758 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I98d3e551231bb5aca3150da99f3431268f3373d8
2020-02-03Respect owning-entity-id when searching instances by SubscriberIttay Stern1-1/+2
Issue-ID: VID-758 Change-Id: Ife6d8679b3ea00d4bb9efb24810b5a50652f5d76 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-02-02originalName fallbacks to customizationId or invariantIdIttay Stern3-6/+1
Issue-ID: VID-724 Change-Id: I3db8d09cabfb700dc1acd469d6fb8acb4764cd73 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-01-30don't show delete in menu action while edit a macro serviceEylon Malin1-1/+1
Issue-ID: VID-760 Change-Id: Ieed2b7430cc1584681b1143d8b7244801dd8a1c4 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2020-01-30Test that a service instance of another subscriber has no edit permissionEinat Vinouze1-0/+33
Issue-ID: VID-758 Change-Id: Ia394c7b04d78cf9fb5e187e8d2d9b7b3a62ef210 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-01-22Merge "logging tests - retry for failed calls to log checker"Ittay Stern1-2/+21
2020-01-22logging tests - retry for failed calls to log checkerEylon Malin1-2/+21
Sometimes log checker server is not available so retry again after some sleep Issue-ID: VID-647 Change-Id: I73ef5af9de4f5531732d46eabcb28bab285960f5 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2020-01-22make GR_API the default testApi in automation testsEylon Malin15-15/+15
Issue-ID: VID-757 Change-Id: I5af2029c53b47e2c303b424396ab0940414f9106 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2020-01-21originalName may be model's "entry name", customizationId or invariantIdIttay Stern2-4/+4
The classic originalName is the "entry name". So two more options were added through SharedTreeService::modelByIdentifier() function. Issue-ID: VID-724 Change-Id: I9f192d2b24c9c1659a95baabd21252bed392e9da Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-01-19originalName stored and sent to frontend in a templateEylon Malin2-2/+161
Issue-ID: VID-724 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: Ie18e16fed62f9a92a4b4d5c72596c36303de1f48 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2020-01-07templates button - rename from hasTemplates to isInstantiationTemplateExists ↵Einat Vinouze1-0/+11
on the FE side Issue-ID: VID-741 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Change-Id: I09e0579d96cf5265519eaa69646afef7b511593a Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com>
2020-01-01Add a reference-template with 2 templated Networks: fetch by jobIdIttay Stern1-6/+5
Issue-ID: VID-724 Change-Id: Id8906366ebf01ca95045450cb1870fa82f53a3dd Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-12-31Add a reference-template with 2 templated NetworksIttay Stern2-3/+122
Issue-ID: VID-724 Change-Id: I412d7fb7a8c2a265d26a68c9d15565d726f2ae8f Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-12-31Create Service Info file for assertion on Cypress and API testAlexey Sandler2-13/+92
Issue-ID: VID-724 Change-Id: I1008b3ced1f04267513dcde2e26377861009fda2 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-12-30Merge "Create API test that verify original template should not be changed ↵Ittay Stern1-0/+14
after deploy"
2019-12-30Create API test that verify original template should not be changed after deployAlexey Sandler1-0/+14
Issue-ID: VID-724 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: I9e2b6ec52e95c4bcccef640b32118860338f3c46 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
2019-12-30Fixing the issue which prevents from clicking the [+] button on templatesIttay Stern1-0/+1
i) Use modelUniqueName instead of obsolete originalName ii) Add RECREATE as "editable" case iii) Lift vfModules limitation in model to 3 Issue-ID: VID-724 Change-Id: I9e55142ee379f4eead3c8634f5b816d2d1db1f8e Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-12-24Write async instantiations request-summary to DBIttay Stern1-4/+39
Issue-ID: VID-724 Change-Id: I8b4bb55f6d7d59da321ef7b52802ea8bd957c1c6 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-12-24move templates API to a intended controllerYoav Schneiderman1-3/+5
Issue-ID: VID-730 Change-Id: Id2aa44803a190333b5a96fda77ca15d254b4c222 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com>
2019-12-19Adjust API test with move templates API to a intended controllerIttay Stern1-1/+1
Complements Change Ie9b23a0360f902334fd6b877accec322b795c413 Change-Id: I3c9b2179ad36e5ad7ecdbf0bbd787338d20e457e Issue-ID: VID-730 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-12-17Templates: Test deployment of a Cypress edited templateIttay Stern3-136/+3
Use templates__instance_from_template__set_without_modify1.json in API test, and make sure values comply. Fix multiselect control to keep platform name as-is when field not touched but "set" is set. Issue-ID: VID-724 Issue-ID: VID-722 Change-Id: Ic0e4cc36027c56f900f6d7e0aa2b01da7d0c728f Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-12-17Templates: Test deployment of a Cypress *edited* without changes templateSara Weiss1-0/+162
Issue-ID: VID-724 Signed-off-by: Sara Weiss <sara.weiss@intl.att.com> Change-Id: If70e4cb35d6a0feb0972da3f212b8a87892004cd
2019-12-17Templates: Test deployment of a Cypress *edited* templateIttay Stern2-6/+153
templates__instance_from_template__set_without_modify.json is currently a plain copy of original template, but this will be changed later on Issue-ID: VID-724 Change-Id: Ib527fc33b684b0886c7aa407d5ba90be65fad159 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-12-17Merge "Templates: show correct values of sdnc-preload, volume-group name"Eylon Malin1-3/+5
2019-12-17Merge "Do not show retain VGs checkbox in VFM Upgrade modal + tests ↵Eylon Malin1-5/+5
modifications"
2019-12-17Templates: show correct values of sdnc-preload, volume-group nameIttay Stern1-3/+5
Rename fields in VfModule: - volumeGroupName instead of volumeGroupInstanceName - sdncPreLoad instead of usePreload Also allow "set" on pupups by providing an empty "existingNames" Issue-ID: VID-724 Change-Id: I18ea0c3fdb4fe716c01902effbb577844000f958 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-12-16Merge "When opening new VNF modal the modal should be empty."Eylon Malin1-1/+1
2019-12-16Do not show retain VGs checkbox in VFM Upgrade modal + tests modificationsAmir Skalka1-5/+5
Business&test(cypress&UT), refactor of some files, fix of typos, upgrade jest version etc. Issue-ID: VID-603 Change-Id: I2153c8a7f300bfa34f6817704b08f0c2a046a4e7 Signed-off-by: Amir Skalka <amir.skalka@intl.att.com>
2019-12-16When opening new VNF modal the modal should be empty.Yoav Schneiderman1-1/+1
Issue-ID: VID-727 Change-Id: I29a83ae7460c30661ad5d99860bcddda5a2936be Signed-off-by: Yoav Schneiderman <yoav.schneiderman@intl.att.com> Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com>
2019-12-16Merge "Allow edit service button to be shown on service context menu in ↵Ittay Stern1-4/+4
recreate mode."
2019-12-16Allow edit service button to be shown on service context menu in recreate mode.Alexey Sandler1-4/+4
Issue-ID: VID-724 Change-Id: Ife26ef3278a37555a80fe4f3e8afa56666ca81ba Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
2019-12-16Merge "run logging test for the error log as well"Ittay Stern1-2/+3
2019-12-15run logging test for the error log as wellAmichai Hemli1-2/+3
Issue-ID: VID-253 Signed-off-by: Amichai Hemli <amichai.hemli@intl.att.com> Change-Id: Ife8d5712c99359fd24955fe4dd649503e0789e14 Signed-off-by: Amichai Hemli <amichai.hemli@intl.att.com>
2019-12-14Fix templates_instance_template.json file and InstantiationTemplatesApiTestAlexey Sandler2-5/+6
to resolve 403 error. Issue-ID: VID-724 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: Id2b5ab9e57416a978c591940a381e162f2ac0f14
2019-12-12Edit templates_instance_template.json file to correct values for service ↵Alexey Sandler1-6/+6
edit instance. Issue-ID: VID-724 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: I171510050cd76b9df6f7d0a960802da91b569633
2019-12-12Add edit button on service context menu.Alexey Sandler1-4/+4
Issue-ID: VID-724 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: I6f050e77b41e57016a01c622b0bb09e5e36155e2
2019-12-11Add cypress test that check vnf popup contains correct lcp region data.Alexey Sandler1-8/+8
Issue-ID: VID-724 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: I8231009ca8753987055291af83eb5c088d816ac8
2019-12-09Enable InstantiationTemplatesApiTest with counter-mapsIttay Stern2-2/+7
Change-Id: I57c09a6ae664517d01deb7b0d4f3e639f7a871a6 Issue-ID: VID-724 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-12-09Change ServiceInstance's top-level rollbackOnFailure serialization to StringIttay Stern4-2/+265
This will satisfy a new test: Template Topology API test: Deploy Cypress -> getTemplateTopology returns the same template Also updating templates__instance_template.json with actual "templateTopology" endpoint fields. Issue-ID: VID-724 Change-Id: I1160656c9a58ab2678ca6f2529688463fbd60a91 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-12-04make sure request id is unique per each async job executionEylon Malin1-1/+1
Issue-ID: VID-253 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I1e7e98876c6557ff18a9e1646d7b815ed9af830d
2019-12-04improve test deployTwoServicesGetServicesFilterByModelIdEylon Malin1-16/+41
Issue-ID: VID-724 Test validate that only expected jobIds are in service info list + always mute jobs att the end of the test Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I3cfa35ae5f31cf72dcf8b4ac3e250f9473080693
2019-12-02Add query param option for filtering services info by service model idSara Weiss1-0/+25
Issue-ID: VID-724 Signed-off-by: Sara Weiss <sara.weiss@intl.att.com> Change-Id: I72c78dd3c0e156688092ce4ac3793bc3e8c37352
2019-12-01remove FLAG_SETTING_DEFAULTS_IN_DRAWING_BOARDEylon Malin1-1/+0
Issue-ID: VID-721 Change-Id: Ia06b7afe0cc2aa6f906f56802dc537f6fec283d0 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
2019-11-28remove FLAG_DEFAULT_VNFEylon Malin1-1/+0
Issue-ID: VID-721 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I31b646b4dd5a81c4904a77c0386e27137a76a9fd
2019-11-28remove FLAG_1810_CR_SOFT_DELETE_ALACARTE_VF_MODULEEylon Malin1-1/+0
Issue-ID: VID-721 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I80e3f8edbc187acaf13fdcc089ba15da33dc0ec5
2019-11-27Don't assert host:port on SDC ProbeApiTestIttay Stern1-10/+8
Undo Make ProbeApiTest expectation to follow tests' Simulator config Issue-ID: VID-647 Change-Id: I6a6a487835be5865d2b5fed185939ea2ab79a880 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-11-26Merge "Make ProbeApiTest expectation to follow tests' Simulator config"Ittay Stern1-10/+17
2019-11-26improve debug logging formatAmichai Hemli1-72/+74
Issue-ID: VID-646 Signed-off-by: Amichai Hemli <amichai.hemli@intl.att.com> Change-Id: Ifa9105455dabdfad3179c36b516fe9833e0e6e60 Signed-off-by: Amichai Hemli <amichai.hemli@intl.att.com>
2019-11-26Make ProbeApiTest expectation to follow tests' Simulator configIttay Stern1-10/+17
Issue-ID: VID-647 Change-Id: I56f9106403c31e545d00caaf2fe6d5df2f375843 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-11-26Make LoggerFormatTest run lastIttay Stern1-3/+4
Issue-ID: VID-647 Change-Id: Ia9989555d3fbdfe222410be59c8a581be32974e0 Signed-off-by: Ittay Stern <ittay.stern@att.com>