aboutsummaryrefslogtreecommitdiffstats
path: root/vid-automation/src/test
AgeCommit message (Collapse)AuthorFilesLines
2020-02-24Fix test after modelCustomizationId and modelVersionId from instanceIttay Stern1-8/+8
Fixes: * vpn component info * network component info * should show vrf model and vrf instance correctly Issue-ID: Issue-ID: VID-771 Change-Id: Ie4bd39f15efb5e4beb0c10f14a0081164db5e59a Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-02-17Fix intermittent test inProgressJobMoreThan24HoursIsFailedInVidAuditIttay Stern1-34/+29
Bit more time was needed. Issue-ID: VID-647 Change-Id: Ie7e101a2eb85e71a38d1cb2efd9f7327e4705fd3 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-02-17Fix intermittent test inProgressJobMoreThan24HoursIsFailedInVidAuditIttay Stern1-2/+7
PresetAAIGetCloudOwnersByCloudRegionId were missing. Issue-ID: VID-647 Change-Id: I4dab07b328ef3ac7242eec22a3ef014ad87f8885 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-02-16Test filter owning-entities from /category_parameter by permissionsIttay Stern2-13/+74
Issue-ID: VID-758 Change-Id: I9b5dc8906067c4f077ba2e03073e6dface6aa86c Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-02-13Translate owning entity name to owning entity ID - update api test to except ↵Einat Vinouze1-1/+1
new behavior Issue-ID: VID-758 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Change-Id: Ib8b8da5c3267a3668cf29b950233af14b29f2d23
2020-02-12API tests: support TENANT_AND_REGION_FROM_VNF flagIttay Stern1-8/+20
Input file redux-a-la-carte-no-testapi.json left intact, expectations differ. Issue-ID: VID-758 Change-Id: I3f073517a844bb2f002ff7375b5e3ed836462582 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-02-10Remove tenant and lcpCloudRegionId - adjust instantiation-templates.e2e.tsEinat Vinouze2-4/+0
Issue-ID: VID-758 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Change-Id: I2441abc50f84c8ef930a0c3eab0b34fdf2cae084
2020-02-10create tests to add vfmodule in ala carte instanceAlexey Sandler1-0/+84
Issue-ID: VID-758 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: I7d4afa05d34cd28ff7118e320f67ef68d6a60e60
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