diff options
author | Eylon Malin <eylon.malin@intl.att.com> | 2019-12-08 16:42:52 +0200 |
---|---|---|
committer | Eylon Malin <eylon.malin@intl.att.com> | 2019-12-08 22:58:33 +0200 |
commit | afcfb82b29af4cbc7fa6911d6f18ede7381388fa (patch) | |
tree | 892ea57cea22288594b3ab165b777bcad34a7560 | |
parent | 6d937099efa1cb30eb16470005c7e05c1f29f729 (diff) |
another try to fix cypress test should enable correct menu items
Issue-ID: VID-724
remove another row form test setup
Change-Id: I9846078e7e5d1ed88b6329a026ee542f69aa53fe
Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
-rw-r--r-- | vid-webpack-master/cypress/integration/iFrames/instantiationStatus.e2e.ts | 4 | ||||
-rw-r--r-- | vid-webpack-master/cypress/support/jsonBuilders/mocks/jsons/asyncInstantiation.json | 144 |
2 files changed, 55 insertions, 93 deletions
diff --git a/vid-webpack-master/cypress/integration/iFrames/instantiationStatus.e2e.ts b/vid-webpack-master/cypress/integration/iFrames/instantiationStatus.e2e.ts index 9a0c1aa36..7e1311b48 100644 --- a/vid-webpack-master/cypress/integration/iFrames/instantiationStatus.e2e.ts +++ b/vid-webpack-master/cypress/integration/iFrames/instantiationStatus.e2e.ts @@ -61,13 +61,13 @@ describe('Instantiation status', function () { it('should filter rows by filter text', function () { cy.openIframe('app/ui/#/instantiationStatus'); cy.getElementByDataTestsId("instantiationStatusFilter").type("ComplexService"); - cy.get('table#instantiation-status tbody tr').should('have.length', 3); + cy.get('table#instantiation-status tbody tr').should('have.length', 2); }); it('should filter rows by url filter text', function () { cy.openIframe('app/ui/#/instantiationStatus?filterText=ComplexService'); cy.getElementByDataTestsId("instantiationStatusFilter").should('have.value','ComplexService'); - cy.get('table#instantiation-status tbody tr').should('have.length', 3); + cy.get('table#instantiation-status tbody tr').should('have.length', 2); }); function getDropDownMenuByDataTestId(testId:String) { diff --git a/vid-webpack-master/cypress/support/jsonBuilders/mocks/jsons/asyncInstantiation.json b/vid-webpack-master/cypress/support/jsonBuilders/mocks/jsons/asyncInstantiation.json index c6fc4ebc0..2a8c7e882 100644 --- a/vid-webpack-master/cypress/support/jsonBuilders/mocks/jsons/asyncInstantiation.json +++ b/vid-webpack-master/cypress/support/jsonBuilders/mocks/jsons/asyncInstantiation.json @@ -230,116 +230,78 @@ "isRetryEnabled": false }, { - "id": 3, - "created": 1524991828000, - "modified": 1524991830000, - "action": "INSTANTIATE", + "id": 9, + "created": 1524663233000, + "modified": 1524663236000, + "action": "DELETE", "createdId": null, "modifiedId": null, "rowNum": null, "auditUserId": null, "auditTrail": null, - "jobId": "725ef127-4ee5-4665-bdf1-55ee342b362f", - "templateId": "6bd53c0d-8742-43f6-9ed2-efbb87062779", + "jobId": "850dc7d2-5240-437f-9bcd-b1ed7dc339c2", + "templateId": "262fccc5-cae9-4258-b522-540c4010e0a9", "userId": "16807000", "aLaCarte": true, - "msoRequestId": "c0011670-0e1a-4b74-945d-8bf5aede1d96", - "jobStatus": "FAILED", - "statusModifiedDate": 1524991828000, + "msoRequestId": "c0011670-0e1a-4b74-945d-8bf5aede1d45", + "jobStatus": "IN_PROGRESS", + "statusModifiedDate": 1524663233000, "hidden": false, "pause": false, - "owningEntityId": "aaa1", - "owningEntityName": "aaa1", + "owningEntityId": "d61e6f2d-12fa-4cc2-91df-7c244011d6fc", + "owningEntityName": "WayneHolland", "project": "WATKINS", "aicZoneId": "NFT1", "aicZoneName": "NFTJSSSS-NFT1", - "tenantId": "092eb9e8e4b7412e8787dd091bc58e86", - "tenantName": "USP-SIP-IC-24335-T-01", - "regionId": "AAIAIC25", + "tenantId": "bae71557c5bb4d5aac6743a4e5f1d054", + "tenantName": "AIN Web Tool-15-D-testalexandria", + "regionId": "hvf6", "regionName": null, "serviceType": "TYLER SILVIA", "subscriberName": "e433710f-9217-458d-a79d-1c7aff376d89", "serviceInstanceId": null, - "serviceInstanceName": null, + "serviceInstanceName": "sPenLiZXXpqzsVck instance name_01", "serviceModelId": "e49fbd11-e60c-4a8e-b4bf-30fbe8f4fcc0", - "serviceModelName": "ComplexService", + "serviceModelName": "action-data", "serviceModelVersion": "1.0", - "createdBulkDate": 1524991828000, + "createdBulkDate": 1524663233000, "isRetryEnabled": false }, { - "id": 9, - "created": 1524663233000, - "modified": 1524663236000, - "action": "DELETE", - "createdId": null, - "modifiedId": null, - "rowNum": null, - "auditUserId": null, - "auditTrail": null, - "jobId": "850dc7d2-5240-437f-9bcd-b1ed7dc339c2", - "templateId": "262fccc5-cae9-4258-b522-540c4010e0a9", - "userId": "16807000", - "aLaCarte": true, - "msoRequestId": "c0011670-0e1a-4b74-945d-8bf5aede1d45", - "jobStatus": "IN_PROGRESS", - "statusModifiedDate": 1524663233000, - "hidden": false, - "pause": false, - "owningEntityId": "d61e6f2d-12fa-4cc2-91df-7c244011d6fc", - "owningEntityName": "WayneHolland", - "project": "WATKINS", - "aicZoneId": "NFT1", - "aicZoneName": "NFTJSSSS-NFT1", - "tenantId": "bae71557c5bb4d5aac6743a4e5f1d054", - "tenantName": "AIN Web Tool-15-D-testalexandria", - "regionId": "hvf6", - "regionName": null, - "serviceType": "TYLER SILVIA", - "subscriberName": "e433710f-9217-458d-a79d-1c7aff376d89", - "serviceInstanceId": null, - "serviceInstanceName": "sPenLiZXXpqzsVck instance name_01", - "serviceModelId": "e49fbd11-e60c-4a8e-b4bf-30fbe8f4fcc0", - "serviceModelName": "action-data", - "serviceModelVersion": "1.0", - "createdBulkDate": 1524663233000, - "isRetryEnabled": false -}, - { - "id": 10, - "created": 1524663233000, - "modified": 1524663236000, - "action": "UPDATE", - "createdId": null, - "modifiedId": null, - "rowNum": null, - "auditUserId": null, - "auditTrail": null, - "jobId": "850dc7d2-5240-437f-9bcd-b1ed7dc339c1", - "templateId": "262fccc5-cae9-4258-b522-540c4010e0a9", - "userId": "16807000", - "aLaCarte": true, - "msoRequestId": "c0011670-0e1a-4b74-945d-8bf5aede1d45", - "jobStatus": "COMPLETED", - "statusModifiedDate": 1524663233000, - "hidden": false, - "pause": false, - "owningEntityId": "d61e6f2d-12fa-4cc2-91df-7c244011d6fc", - "owningEntityName": "WayneHolland", - "project": "WATKINS", - "aicZoneId": "NFT1", - "aicZoneName": "NFTJSSSS-NFT1", - "tenantId": "bae71557c5bb4d5aac6743a4e5f1d054", - "tenantName": "AIN Web Tool-15-D-testalexandria", - "regionId": "hvf6", - "regionName": null, - "serviceType": "TYLER SILVIA", - "subscriberName": "e433710f-9217-458d-a79d-1c7aff376d89", - "serviceInstanceId": null, - "serviceInstanceName": "sPenLiZXXpqzsVck instance name_01", - "serviceModelId": "e49fbd11-e60c-4a8e-b4bf-30fbe8f4fcc0", - "serviceModelName": "action-data", - "serviceModelVersion": "1.0", - "createdBulkDate": 1524663233000 -} + "id": 10, + "created": 1524663233000, + "modified": 1524663236000, + "action": "UPDATE", + "createdId": null, + "modifiedId": null, + "rowNum": null, + "auditUserId": null, + "auditTrail": null, + "jobId": "850dc7d2-5240-437f-9bcd-b1ed7dc339c1", + "templateId": "262fccc5-cae9-4258-b522-540c4010e0a9", + "userId": "16807000", + "aLaCarte": true, + "msoRequestId": "c0011670-0e1a-4b74-945d-8bf5aede1d45", + "jobStatus": "COMPLETED", + "statusModifiedDate": 1524663233000, + "hidden": false, + "pause": false, + "owningEntityId": "d61e6f2d-12fa-4cc2-91df-7c244011d6fc", + "owningEntityName": "WayneHolland", + "project": "WATKINS", + "aicZoneId": "NFT1", + "aicZoneName": "NFTJSSSS-NFT1", + "tenantId": "bae71557c5bb4d5aac6743a4e5f1d054", + "tenantName": "AIN Web Tool-15-D-testalexandria", + "regionId": "hvf6", + "regionName": null, + "serviceType": "TYLER SILVIA", + "subscriberName": "e433710f-9217-458d-a79d-1c7aff376d89", + "serviceInstanceId": null, + "serviceInstanceName": "sPenLiZXXpqzsVck instance name_01", + "serviceModelId": "e49fbd11-e60c-4a8e-b4bf-30fbe8f4fcc0", + "serviceModelName": "action-data", + "serviceModelVersion": "1.0", + "createdBulkDate": 1524663233000 + } ] |