summaryrefslogtreecommitdiffstats
path: root/vid-automation/src/test
AgeCommit message (Collapse)AuthorFilesLines
2020-05-07Move some tests from group 3 to group 5Ittay Stern1-1/+1
Issue-ID: VID-647 Change-Id: Ic6d97cb7a7c1ce7c47dbfd8717553b9fb1225eca Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-04-01allow LOB multi-selection for vnf - fix cypressEinat Vinouze2-2/+2
Issue-ID: VID-785 Change-Id: I3a11bad5b6da532b23049ce09ea439849143e941 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com>
2020-03-23Add some timed grace for assertion on log-linesIttay Stern2-21/+24
It happens that logging is delayed, and rows are not available on disk right after an inspected event. Issue-ID: VID-647 Change-Id: Ic47cb2beff0be699f018ff6b5f264a57479bd7d0 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-03-22Change-Management tests: reset presets before each testIttay Stern1-1/+2
This might prevent cascaded failures across the suite. Issue-ID: VID-647 Change-Id: If12e4c5c32e7bc14bfb9860993f1a29a4ce1be62 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-03-19Log-in before ChangeManagementApiTest API tests6.0.4Ittay Stern1-30/+33
This will result a user-name (partnerName) in audit logs instead of user-agent string. BTW, also clear redundant `throws` clauses and improve getOrchestrationForDashboardShouldResponseWithNoTaskInfoBody to fail if non-ok http code is returned. Issue-ID: VID-647 Change-Id: I5283e723c3fed75f4a65ebfc1c1a5471272f1b39 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-03-18allow LOB multi-selection for networkEinat Vinouze2-2/+2
Issue-ID: VID-788 Change-Id: I03674ea0c04567291ba647c76b7c88bc11a7cf0e Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com>
2020-03-16API test to verify simpleNoTaskInfo formatAlexey Sandler2-3/+150
Use new format when fetching Orchestration requests from MSO to the CM dashboard Issue-ID: VID-787 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: Id426ee13ce9dede540d7807cb836f1bb6db420c2
2020-03-16API test to verify simpleNoTaskInfo formatAlexey Sandler1-0/+20
Issue-ID: VID-787 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: I650530f9490d45d3fc3fe3fcb1b853bdded7d07a Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
2020-03-08allow platform multi-selection for networkEinat Vinouze2-2/+4
Issue-ID: VID-785 Change-Id: I4e6a4c2f0dc8c0e11f2571eec0789ad5672a9147 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com>
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>