summaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/cypress/integration
diff options
context:
space:
mode:
authorKruthi Bhat <krutbhat@att.com>2020-10-29 22:15:04 +0530
committerKruthi Bhat <krutbhat@att.com>2020-10-29 22:15:13 +0530
commit5ecb6d93b05f1cecb95604b057a1894293a6b687 (patch)
tree3201e456c252897ede213fd43745342c613cba2e /vid-webpack-master/cypress/integration
parent08a553f12102f39dd2b643d63d59c07850de03aa (diff)
VID-913 : Addition of Instance IDs in Audit Info screen
Change-Id: I7a440c6797f63588c68d490715272992e626424f Issue-ID: VID-913 Signed-off-by: Kruthi Bhat <krutbhat@att.com>
Diffstat (limited to 'vid-webpack-master/cypress/integration')
-rw-r--r--vid-webpack-master/cypress/integration/iFrames/auditInfo.modal.e2e.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/vid-webpack-master/cypress/integration/iFrames/auditInfo.modal.e2e.ts b/vid-webpack-master/cypress/integration/iFrames/auditInfo.modal.e2e.ts
index d43b07ecb..cd7844ad1 100644
--- a/vid-webpack-master/cypress/integration/iFrames/auditInfo.modal.e2e.ts
+++ b/vid-webpack-master/cypress/integration/iFrames/auditInfo.modal.e2e.ts
@@ -60,8 +60,9 @@ describe('Audit information modal', function () {
cy.setViewportToSmallPopup();
cy.get('#service-instantiation-audit-info-mso thead tr th#instanceName').should("be.visible")
.get('#service-instantiation-audit-info-mso tbody tr').each(function (row, index) {
+ let instanceColumn :any = res[index]['instanceName'] + " | undefined";
assert.equal(row.find('#msoRequestId').text().trim(), res[index]['requestId']);
- assert.equal(row.find('.msoInstanceName').text().trim(), res[index]['instanceName']);
+ assert.equal(row.find('.msoInstanceName').text().trim(),instanceColumn );
assert.equal(row.find('#msoJobStatus').text().trim(), _.capitalize(res[index]['jobStatus']));
assert.equal(row.find('#msoAdditionalInfo span').text().trim(), res[index]['additionalInfo']);
});
@@ -107,8 +108,9 @@ describe('Audit information modal', function () {
cy.setViewportToSmallPopup();
cy.get('#service-instantiation-audit-info-mso thead tr th#instanceName').should("be.visible")
.get('#service-instantiation-audit-info-mso tbody tr').each(function (row, index) {
+ const instanceColumn :any = expectedResult[index]['instanceName'] + " | " +expectedResult[index]['instanceId'];
assert.equal(row.find('#msoRequestId').text().trim(), expectedResult[index]['requestId']);
- assert.equal(row.find('.msoInstanceName').text().trim(), expectedResult[index]['instanceName']);
+ assert.equal(row.find('.msoInstanceName').text().trim(), instanceColumn);
assert.equal(row.find('#msostartTime').text().trim(), expectedResult[index]['startTime']);
});
});