summaryrefslogtreecommitdiffstats
path: root/testapi/opnfv_testapi/tests/UI/e2e/projectsControllerSpec.js
diff options
context:
space:
mode:
authorthuva4 <tharma.thuva@gmail.com>2018-02-28 23:38:58 +0530
committerthuva4 <tharma.thuva@gmail.com>2018-03-01 12:16:11 +0530
commited112005d1b1fd69e96a902f7f08d9f9ddb143b1 (patch)
tree88c4a98909bb233799d306e98fe07782cbfaaaf3 /testapi/opnfv_testapi/tests/UI/e2e/projectsControllerSpec.js
parent30c27c5b753413f397a9123bfc45d44de2c3579b (diff)
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 <tharma.thuva@gmail.com>
Diffstat (limited to 'testapi/opnfv_testapi/tests/UI/e2e/projectsControllerSpec.js')
-rw-r--r--testapi/opnfv_testapi/tests/UI/e2e/projectsControllerSpec.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/testapi/opnfv_testapi/tests/UI/e2e/projectsControllerSpec.js b/testapi/opnfv_testapi/tests/UI/e2e/projectsControllerSpec.js
index 015dcbb..ed5fe9f 100644
--- a/testapi/opnfv_testapi/tests/UI/e2e/projectsControllerSpec.js
+++ b/testapi/opnfv_testapi/tests/UI/e2e/projectsControllerSpec.js
@@ -390,6 +390,8 @@ describe('testing the Project Link for user who is in submitter group', function
browser.get(baseURL+"#/projects");
var deleteOperation = element(by.css('a[title=Delete]'));
deleteOperation.click();
+ expect(element(by.cssContainingText('label', "You are about to delete following projects : vsfv"))
+ .isDisplayed()).toBe(true);
var buttonOK = element(by.buttonText('Ok'));
buttonOK.click();
expect(element(by.cssContainingText(".alert","Projects is successfully deleted"))