diff options
author | thuva4 <tharma.thuva@gmail.com> | 2017-11-16 14:51:29 +0530 |
---|---|---|
committer | thuva4 <tharma.thuva@gmail.com> | 2017-11-16 16:31:55 +0530 |
commit | 141e16fcbdcacc02ff30d861bf76082b51d4c287 (patch) | |
tree | af8f398f254d9e1ba27b392b9e36957a75af77b9 /testapi/opnfv_testapi/tests/UI/e2e/podsControllerSpec.js | |
parent | 265e10a036b545d9d4e15bebef17e38e4b013af3 (diff) |
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 <tharma.thuva@gmail.com>
Diffstat (limited to 'testapi/opnfv_testapi/tests/UI/e2e/podsControllerSpec.js')
-rw-r--r-- | testapi/opnfv_testapi/tests/UI/e2e/podsControllerSpec.js | 8 |
1 files changed, 8 insertions, 0 deletions
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')); |