From 141e16fcbdcacc02ff30d861bf76082b51d4c287 Mon Sep 17 00:00:00 2001 From: thuva4 Date: Thu, 16 Nov 2017 14:51:29 +0530 Subject: Update and Delete functionalities for projects Implemented the update and delete functions for the projects and wrote the e2e tests for the both functions. Change-Id: I917dd9503f145b0dde61dd9970bd855f9711335e Signed-off-by: thuva4 --- testapi/opnfv_testapi/tests/UI/e2e/podsControllerSpec.js | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'testapi/opnfv_testapi/tests/UI/e2e/podsControllerSpec.js') diff --git a/testapi/opnfv_testapi/tests/UI/e2e/podsControllerSpec.js b/testapi/opnfv_testapi/tests/UI/e2e/podsControllerSpec.js index 8cf7467..cb1d95d 100644 --- a/testapi/opnfv_testapi/tests/UI/e2e/podsControllerSpec.js +++ b/testapi/opnfv_testapi/tests/UI/e2e/podsControllerSpec.js @@ -20,6 +20,10 @@ describe('testing the Pods page for anonymous user', function () { }]); }); + afterEach(function(){ + mock.teardown(); + }); + it( 'should navigate to pods link ', function() { browser.get(baseURL); var podslink = element(by.linkText('Pods')).click(); @@ -128,6 +132,10 @@ describe('testing the Pods page for authorized user', function () { ]); }); + afterEach(function(){ + mock.teardown(); + }); + it('create button is visible for authorized user', function () { browser.get(baseURL + '/#/pods'); var buttonCreate = element(by.buttonText('Create')); -- cgit 1.2.3-korg