From ed112005d1b1fd69e96a902f7f08d9f9ddb143b1 Mon Sep 17 00:00:00 2001 From: thuva4 Date: Wed, 28 Feb 2018 23:38:58 +0530 Subject: Add resource name in scenario page confirm modal Add the name of the insatllers, versions, projects and customs in the delete confirm modal add tests Change-Id: I91e115f484726d98c357de844197189b22f66584 Signed-off-by: thuva4 --- testapi/opnfv_testapi/tests/UI/e2e/testCasesControllerSpec.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'testapi/opnfv_testapi/tests/UI/e2e/testCasesControllerSpec.js') diff --git a/testapi/opnfv_testapi/tests/UI/e2e/testCasesControllerSpec.js b/testapi/opnfv_testapi/tests/UI/e2e/testCasesControllerSpec.js index 4f21fd1..53e7bdf 100644 --- a/testapi/opnfv_testapi/tests/UI/e2e/testCasesControllerSpec.js +++ b/testapi/opnfv_testapi/tests/UI/e2e/testCasesControllerSpec.js @@ -575,6 +575,8 @@ describe('testing the test cases page for user who is in submitter group', funct testCases.click(); var deleteOperation = element(by.css('a[title=Delete]')); deleteOperation.click(); + expect(element(by.cssContainingText('label', "You are about to delete following testcases : testCase")) + .isDisplayed()).toBe(true); var buttonCancel = element(by.buttonText('Cancel')); buttonCancel.click(); expect(buttonCancel.isPresent()).toBe(false); -- cgit 1.2.3-korg