owner to creator 97/51297/1
authorthuva4 <tharma.thuva@gmail.com>
Mon, 29 Jan 2018 11:22:31 +0000 (16:52 +0530)
committerthuva4 <tharma.thuva@gmail.com>
Mon, 29 Jan 2018 11:22:31 +0000 (16:52 +0530)
Change Owner to creator in pod, projects
Add creator in testCase, scenarios
Fix issue in e2e testing

Change-Id: Ib520eb107dce2ed8fc6fd390f034f500bf4c742a
Signed-off-by: thuva4 <tharma.thuva@gmail.com>
17 files changed:
testapi/opnfv_testapi/common/check.py
testapi/opnfv_testapi/models/pod_models.py
testapi/opnfv_testapi/models/project_models.py
testapi/opnfv_testapi/models/scenario_models.py
testapi/opnfv_testapi/tests/UI/e2e/homeControllerSpec.js
testapi/opnfv_testapi/tests/UI/e2e/podsControllerSpec.js
testapi/opnfv_testapi/tests/UI/e2e/projectsControllerSpec.js
testapi/opnfv_testapi/tests/UI/e2e/scenarioControllerSpec.js
testapi/opnfv_testapi/tests/UI/e2e/testCasesControllerSpec.js
testapi/opnfv_testapi/tests/unit/handlers/test_base.py
testapi/opnfv_testapi/tests/unit/handlers/test_pod.py
testapi/opnfv_testapi/ui/Gruntfile.js
testapi/opnfv_testapi/ui/components/pods/pod/pod.html
testapi/opnfv_testapi/ui/components/projects/project/project.html
testapi/opnfv_testapi/ui/components/projects/project/testCases/testCase/testCase.html
testapi/opnfv_testapi/ui/components/scenarios/scenario/scenario.html
testapi/opnfv_testapi/ui/protractor-conf.js [moved from testapi/opnfv_testapi/tests/UI/protractor-conf.js with 100% similarity]

index 9b3ab01..1a66dd7 100644 (file)
@@ -29,7 +29,7 @@ def is_authorized(method):
             if not user_info:
                 raises.Unauthorized(message.not_lfid())
             if method.__name__ == "_create":
-                kwargs['owner'] = testapi_id
+                kwargs['creator'] = testapi_id
             if self.table in ['projects']:
                 query = kwargs.get('query')
                 if type(query) is not dict:
index 0eddfcc..8af5297 100644 (file)
@@ -30,7 +30,7 @@ class Pod(PodCreateRequest):
     def __init__(self, **kwargs):
         self._id = kwargs.pop('_id', '')
         self.creation_date = kwargs.pop('creation_date', '')
-        self.owner = kwargs.pop('owner', '')
+        self.creator = kwargs.pop('creator', '')
         super(Pod, self).__init__(**kwargs)
 
 
index 5f280f1..eac2fd3 100644 (file)
@@ -27,11 +27,12 @@ class ProjectUpdateRequest(base_models.ModelBase):
 @swagger.model()
 class Project(base_models.ModelBase):
     def __init__(self,
-                 name=None, _id=None, description=None, create_date=None):
+                 name=None, creator='', _id=None, description=None, creation_date=None):
+        self.creator = creator
         self._id = _id
         self.name = name
         self.description = description
-        self.creation_date = create_date
+        self.creation_date = creation_date
 
 
 @swagger.model()
index 0610c6b..01b5c2b 100644 (file)
@@ -178,8 +178,9 @@ class Scenario(base_models.ModelBase):
         @property installers:
         @ptype installers: C{list} of L{ScenarioInstaller}
     """
-    def __init__(self, name='', create_date='', _id='', installers=None):
+    def __init__(self, name='', create_date='', _id='', creator='', installers=None):
         self.name = name
+        self.creator = creator
         self._id = _id
         self.creation_date = create_date
         self.installers = list_default(installers)
index 57794a6..013527d 100644 (file)
@@ -20,7 +20,7 @@ describe('testing the home page for user', function () {
             },
             response: {
                 data: {
-                    pods: [{role: "community-ci", name: "test", owner: "testUser",
+                    pods: [{role: "community-ci", name: "test", creator: "testUser",
                     details: "DemoDetails", mode: "metal", _id: "59f02f099a07c84bfc5c7aed",
                     creation_date: "2017-10-25 11:58:25.926168"}]
                 }
@@ -53,4 +53,4 @@ describe('testing the home page for user', function () {
         var EC = browser.ExpectedConditions;
         browser.wait(EC.urlContains(baseURL+ '/#/profile'), 10000);
     });
-});
+});
\ No newline at end of file
index 97e61ad..3505a84 100644 (file)
@@ -4,243 +4,243 @@ var mock = require('protractor-http-mock');
 var baseURL = "http://localhost:8000"
 describe('testing the Pods page for anonymous user', function () {
 
-       beforeEach(function(){
-               mock([{
-                       request: {
-                         path: '/api/v1/pods',
-                         method: 'GET'
-                       },
-                       response: {
-                               data: {
-                                       pods: [{role: "community-ci", name: "test", owner: "testUser",
-                                       details: "DemoDetails", mode: "metal", _id: "59f02f099a07c84bfc5c7aed",
-                                       creation_date: "2017-10-25 11:58:25.926168"}]
-                               }
-                       }
-                 },
-                 {
-                       request: {
-                               path: '/api/v1/pods',
-                               method: 'GET',
-                               queryString: {
-                                       name: 'test'
-                               }
-                       },
-                       response: {
-                               data: {
-                                       pods: [{role: "community-ci", name: "test", owner: "testUser",
-                                       details: "DemoDetails", mode: "metal", _id: "59f02f099a07c84bfc5c7aed",
-                                       creation_date: "2017-10-25 11:58:25.926168"}]
-                               }
-                       }
-               }
-       ]);
-       });
+    beforeEach(function(){
+        mock([{
+            request: {
+              path: '/api/v1/pods',
+              method: 'GET'
+            },
+            response: {
+                data: {
+                    pods: [{role: "community-ci", name: "test", creator: "testUser",
+                    details: "DemoDetails", mode: "metal", _id: "59f02f099a07c84bfc5c7aed",
+                    creation_date: "2017-10-25 11:58:25.926168"}]
+                }
+            }
+          },
+          {
+            request: {
+                path: '/api/v1/pods',
+                method: 'GET',
+                queryString: {
+                    name: 'test'
+                }
+            },
+            response: {
+                data: {
+                    pods: [{role: "community-ci", name: "test", creator: "testUser",
+                    details: "DemoDetails", mode: "metal", _id: "59f02f099a07c84bfc5c7aed",
+                    creation_date: "2017-10-25 11:58:25.926168"}]
+                }
+            }
+        }
+    ]);
+    });
 
-       afterEach(function(){
-               mock.teardown();
-       });
+    afterEach(function(){
+        mock.teardown();
+    });
 
-       it( 'should navigate to pods link ', function() {
-               browser.get(baseURL);
-               var podslink = element(by.linkText('Pods')).click();
-               var EC = browser.ExpectedConditions;
-               browser.wait(EC.urlContains(baseURL+ '/#/pods'), 10000);
-       });
+    it( 'should navigate to pods link ', function() {
+        browser.get(baseURL);
+        var podslink = element(by.linkText('Pods')).click();
+        var EC = browser.ExpectedConditions;
+        browser.wait(EC.urlContains(baseURL+ '/#/pods'), 10000);
+    });
 
-       it('create button is not visible for anonymous user', function () {
-               browser.get(baseURL+'#/pods');
-               var buttonCreate = element(by.buttonText('Create'));
-               expect(buttonCreate.isDisplayed()).toBeFalsy();
-       });
+    it('create button is not visible for anonymous user', function () {
+        browser.get(baseURL+'#/pods');
+        var buttonCreate = element(by.buttonText('Create'));
+        expect(buttonCreate.isDisplayed()).toBeFalsy();
+    });
 
-       it('filter button is visible for anonymous user', function () {
-               var buttonFilter = element(by.buttonText('Filter'));
-               expect(buttonFilter.isDisplayed()).toBe(true)
-       });
+    it('filter button is visible for anonymous user', function () {
+        var buttonFilter = element(by.buttonText('Filter'));
+        expect(buttonFilter.isDisplayed()).toBe(true)
+    });
 
-       it('Delete button is visible for anonymous user', function () {
-               var buttonDelete = element(by.buttonText('Delete'));
-               expect(buttonDelete.isDisplayed()).toBeFalsy();
-       });
+    it('Delete button is visible for anonymous user', function () {
+        var buttonDelete = element(by.buttonText('Delete'));
+        expect(buttonDelete.isDisplayed()).toBeFalsy();
+    });
 
-       it('Show results', function () {
-               var row = element.all(by.repeater('(index, pod) in ctrl.data.pods')).first();
+    it('Show results', function () {
+        var row = element.all(by.repeater('(index, pod) in ctrl.data.pods')).first();
         var cells = row.all(by.tagName('td'));
         expect(cells.get(1).getText()).toContain("test");
-       });
+    });
 
-       it('Show relevant results to the filter', function () {
-               var filter = element(by.model('ctrl.filterText'));
-               filter.sendKeys('test');
-               var buttonFilter = element(by.buttonText('Filter'));
-               var row = element.all(by.repeater('(index, pod) in ctrl.data.pods')).first();
+    it('Show relevant results to the filter', function () {
+        var filter = element(by.model('ctrl.filterText'));
+        filter.sendKeys('test');
+        var buttonFilter = element(by.buttonText('Filter'));
+        var row = element.all(by.repeater('(index, pod) in ctrl.data.pods')).first();
         var cells = row.all(by.tagName('td'));
         expect(cells.get(1).getText()).toContain("test");
-       });
+    });
 
-       it('delete Operation is not visible for  user ', function () {
-               browser.get(baseURL+'#/pods');
-               var deleteOperation = element(by.css('a[title=Delete]'));
-               expect(deleteOperation.isDisplayed()).toBeFalsy();
-       });
+    it('delete Operation is not visible for  user ', function () {
+        browser.get(baseURL+'#/pods');
+        var deleteOperation = element(by.css('a[title=Delete]'));
+        expect(deleteOperation.isDisplayed()).toBeFalsy();
+    });
 
 
 });
 
 describe('testing the Pods page for authorized user', function () {
 
-       beforeEach(function(){
-               mock([{
-                       request: {
-                         path: '/api/v1/pods',
-                         method: 'GET'
-                       },
-                       response: {
-                               data: {
-                                       pods: [{role: "community-ci", name: "test", owner: "testUser",
-                                       details: "DemoDetails", mode: "metal", _id: "59f02f099a07c84bfc5c7aed",
-                                       creation_date: "2017-10-25 11:58:25.926168"}]
-                               }
-                       }
-                 },
-                 {
-                       request: {
-                       path: '/api/v1/profile',
-                       method: 'GET'
-                       },
-                       response: {
-                               data: {
-                                       "fullname": "Test User", "_id": "79f82eey9a00c84bfhc7aed",
-                                       "user": "testUser", "groups": ["opnfv-testapi-users",
-                                       "opnfv-gerrit-functest-submitters"], "email": "testuser@test.com"
-                               }
-                       }
-               },
-               {
-                       request: {
-                               path: '/api/v1/pods',
-                               method: 'GET',
-                               queryString: {
-                                       name: 'test'
-                               }
-                       },
-                       response: {
-                               data: {
-                                       pods: [{role: "community-ci", name: "test", owner: "testUser",
-                                       details: "DemoDetails", mode: "metal", _id: "59f02f099a07c84bfc5c7aed",
-                                       creation_date: "2017-10-25 11:58:25.926168"}]
-                               }
-                       }
-               },
-               {
-                       request: {
-                               path: '/api/v1/pods/test',
-                               method: 'DELETE'
-                       },
-                       response: {
-                               data: {
-                                       href: baseURL+"/api/v1/pods/test"
-                               }
-                       }
-               },
-               {
-                       request: {
-                               path: '/api/v1/pods/test1',
-                               method: 'DELETE'
-                       },
-                       response: {
-                               data: {
-                                       href: baseURL+"/api/v1/pods/test1"
-                               }
-                       }
-               },
-               {
-                       request: {
-                               path: '/api/v1/pods',
-                               method: 'POST'
-                       },
-                       response: {
-                               data: {
-                                       href: baseURL+"/api/v1/pods/test1"
-                               }
-                       }
-               },
-               {
-                       request: {
-                               path: '/api/v1/pods/test',
-                               method: 'GET'
-                       },
-                       response: {
-                               data: {role: "community-ci", name: "test", owner: "testUser",
-                               details: "DemoDetails", mode: "metal", _id: "59f02f099a07c84bfc5c7aed",
-                               creation_date: "2017-10-25 11:58:25.926168"}
-                       }
-               }
-       ]);
-       });
+    beforeEach(function(){
+        mock([{
+            request: {
+              path: '/api/v1/pods',
+              method: 'GET'
+            },
+            response: {
+                data: {
+                    pods: [{role: "community-ci", name: "test", creator: "testUser",
+                    details: "DemoDetails", mode: "metal", _id: "59f02f099a07c84bfc5c7aed",
+                    creation_date: "2017-10-25 11:58:25.926168"}]
+                }
+            }
+          },
+          {
+            request: {
+            path: '/api/v1/profile',
+            method: 'GET'
+            },
+            response: {
+                data: {
+                    "fullname": "Test User", "_id": "79f82eey9a00c84bfhc7aed",
+                    "user": "testUser", "groups": ["opnfv-testapi-users",
+                    "opnfv-gerrit-functest-submitters"], "email": "testuser@test.com"
+                }
+            }
+        },
+        {
+            request: {
+                path: '/api/v1/pods',
+                method: 'GET',
+                queryString: {
+                    name: 'test'
+                }
+            },
+            response: {
+                data: {
+                    pods: [{role: "community-ci", name: "test", creator: "testUser",
+                    details: "DemoDetails", mode: "metal", _id: "59f02f099a07c84bfc5c7aed",
+                    creation_date: "2017-10-25 11:58:25.926168"}]
+                }
+            }
+        },
+        {
+            request: {
+                path: '/api/v1/pods/test',
+                method: 'DELETE'
+            },
+            response: {
+                data: {
+                    href: baseURL+"/api/v1/pods/test"
+                }
+            }
+        },
+        {
+            request: {
+                path: '/api/v1/pods/test1',
+                method: 'DELETE'
+            },
+            response: {
+                data: {
+                    href: baseURL+"/api/v1/pods/test1"
+                }
+            }
+        },
+        {
+            request: {
+                path: '/api/v1/pods',
+                method: 'POST'
+            },
+            response: {
+                data: {
+                    href: baseURL+"/api/v1/pods/test1"
+                }
+            }
+        },
+        {
+            request: {
+                path: '/api/v1/pods/test',
+                method: 'GET'
+            },
+            response: {
+                data: {role: "community-ci", name: "test", creator: "testUser",
+                details: "DemoDetails", mode: "metal", _id: "59f02f099a07c84bfc5c7aed",
+                creation_date: "2017-10-25 11:58:25.926168"}
+            }
+        }
+    ]);
+    });
 
-       afterEach(function(){
-               mock.teardown();
-       });
+    afterEach(function(){
+        mock.teardown();
+    });
 
-       it( 'should navigate to pods link ', function() {
-               browser.get(baseURL);
-               var podslink = element(by.linkText('Pods')).click();
-               var EC = browser.ExpectedConditions;
-               browser.wait(EC.urlContains(baseURL+ '/#/pods'), 10000);
-       });
+    it( 'should navigate to pods link ', function() {
+        browser.get(baseURL);
+        var podslink = element(by.linkText('Pods')).click();
+        var EC = browser.ExpectedConditions;
+        browser.wait(EC.urlContains(baseURL+ '/#/pods'), 10000);
+    });
 
-       it('create button is not visible for  user', function () {
-               browser.get(baseURL+'#/pods');
-               var buttonCreate = element(by.buttonText('Create'));
-               expect(buttonCreate.isDisplayed()).toBe(true);
-       });
+    it('create button is not visible for  user', function () {
+        browser.get(baseURL+'#/pods');
+        var buttonCreate = element(by.buttonText('Create'));
+        expect(buttonCreate.isDisplayed()).toBe(true);
+    });
 
-       it('filter button is visible for  user', function () {
-               var buttonFilter = element(by.buttonText('Filter'));
-               expect(buttonFilter.isDisplayed()).toBe(true)
-       });
+    it('filter button is visible for  user', function () {
+        var buttonFilter = element(by.buttonText('Filter'));
+        expect(buttonFilter.isDisplayed()).toBe(true)
+    });
 
-       it('Delete button is visible for  user', function () {
-               var buttonDelete = element(by.buttonText('Delete'));
-               expect(buttonDelete.isDisplayed()).toBe(true)
-       });
+    it('Delete button is visible for  user', function () {
+        var buttonDelete = element(by.buttonText('Delete'));
+        expect(buttonDelete.isDisplayed()).toBe(true)
+    });
 
-       it('Show results', function () {
-               var row = element.all(by.repeater('(index, pod) in ctrl.data.pods')).first();
+    it('Show results', function () {
+        var row = element.all(by.repeater('(index, pod) in ctrl.data.pods')).first();
         var cells = row.all(by.tagName('td'));
         expect(cells.get(1).getText()).toContain("test");
-       });
+    });
 
-       it('Show relevant results to the filter', function () {
-               var filter = element(by.model('ctrl.filterText'));
-               filter.sendKeys('test');
-               var buttonFilter = element(by.buttonText('Filter'));
-               var row = element.all(by.repeater('(index, pod) in ctrl.data.pods')).first();
+    it('Show relevant results to the filter', function () {
+        var filter = element(by.model('ctrl.filterText'));
+        filter.sendKeys('test');
+        var buttonFilter = element(by.buttonText('Filter'));
+        var row = element.all(by.repeater('(index, pod) in ctrl.data.pods')).first();
         var cells = row.all(by.tagName('td'));
         expect(cells.get(1).getText()).toContain("test");
-       });
+    });
 
-       it('delete Operation is  visible for  user ', function () {
-               browser.get(baseURL+'#/pods');
-               var deleteOperation = element(by.css('a[title=Delete]'));
-               expect(deleteOperation.isDisplayed()).toBe(true);
-       });
+    it('delete Operation is  visible for  user ', function () {
+        browser.get(baseURL+'#/pods');
+        var deleteOperation = element(by.css('a[title=Delete]'));
+        expect(deleteOperation.isDisplayed()).toBe(true);
+    });
 
-       it('Batch Delete the pods ', function () {
+    it('Batch Delete the pods ', function () {
         browser.get(baseURL+"#/pods");
         var checkBox = element(by.model('ctrl.checkBox[index]'));
         checkBox.click();
         var buttonDelete = element(by.buttonText('Delete'));;
         buttonDelete.click();
         var buttonOK = element(by.buttonText('Ok'));
-               buttonOK.click();
+        buttonOK.click();
         expect(element(by.cssContainingText(".alert","Delete Success"))
         .isDisplayed()).toBe(true);
-       });
+    });
 
-       it('Delete the pods ', function () {
+    it('Delete the pods ', function () {
         browser.get(baseURL+"#/pods");
         var deleteOperation = element(by.css('a[title=Delete]'));
         deleteOperation.click();
@@ -248,9 +248,9 @@ describe('testing the Pods page for authorized user', function () {
         buttonOK.click();
         expect(element(by.cssContainingText(".alert","Delete Success"))
         .isDisplayed()).toBe(true);
-       });
+    });
 
-       it('Create the pod', function () {
+    it('Create the pod', function () {
         browser.get(baseURL+"#/pods");
         var buttonCreate = element(by.buttonText('Create'));
         buttonCreate.click();
@@ -259,7 +259,7 @@ describe('testing the Pods page for authorized user', function () {
         browser.wait(EC.visibilityOf(name), 5000);
         name.sendKeys('test1');
         var buttonOK = element(by.buttonText('Ok'));
-               buttonOK.click();
+        buttonOK.click();
         expect(element(by.cssContainingText(".alert","Create Success"))
         .isDisplayed()).toBe(true);
     });
@@ -271,8 +271,8 @@ describe('testing the Pods page for authorized user', function () {
         var name = element(by.model('PodModalCtrl.pod.name'));
         var EC = browser.ExpectedConditions;
         browser.wait(EC.visibilityOf(name), 5000);
-               var buttonOK = element(by.buttonText('Ok'));
-               buttonOK.click()
+        var buttonOK = element(by.buttonText('Ok'));
+        buttonOK.click()
         expect(element(by.cssContainingText(".alert","Name is missing."))
         .isDisplayed()).toBe(true);
     });
@@ -284,92 +284,92 @@ describe('testing the Pods page for authorized user', function () {
         var buttonCancel = element(by.buttonText('Cancel'));
         buttonCancel.click();
         expect(buttonCancel.isPresent()).toBe(false);
-       });
+    });
 
-       it('Delete the pods which do not exist ', function () {
-               mock.teardown();
-               mock([{
-                               request: {
-                                       path: '/api/v1/pods',
-                                       method: 'GET'
-                               },
-                               response: {
-                                       data: {
-                                               pods: [{role: "community-ci", name: "test1", owner: "testUser",
-                                               details: "DemoDetails", mode: "metal", _id: "59f02f099a07c84bfc5c7aed",
-                                               creation_date: "2017-10-25 11:58:25.926168"}]
-                                       }
-                       }
-                       },
-                       {
-                               request: {
-                               path: '/api/v1/profile',
-                               method: 'GET'
-                               },
-                               response: {
-                                       data: {
-                                               "fullname": "Test User", "_id": "79f82eey9a00c84bfhc7aed",
-                                               "user": "testUser", "groups": ["opnfv-testapi-users",
-                                               "opnfv-gerrit-functest-submitters"], "email": "testuser@test.com"
-                                       }
-                       }
-                       },
-                       {
-                               request: {
-                                       path: '/api/v1/pods/test1',
-                                       method: 'DELETE'
-                               },
-                               response: {
-                                       status : 403,
-                                       data : 'pods do not exist'
-                               }
-                       }
-               ]);
+    it('Delete the pods which do not exist ', function () {
+        mock.teardown();
+        mock([{
+                request: {
+                    path: '/api/v1/pods',
+                    method: 'GET'
+                },
+                response: {
+                    data: {
+                        pods: [{role: "community-ci", name: "test1", creator: "testUser",
+                        details: "DemoDetails", mode: "metal", _id: "59f02f099a07c84bfc5c7aed",
+                        creation_date: "2017-10-25 11:58:25.926168"}]
+                    }
+            }
+            },
+            {
+                request: {
+                path: '/api/v1/profile',
+                method: 'GET'
+                },
+                response: {
+                    data: {
+                        "fullname": "Test User", "_id": "79f82eey9a00c84bfhc7aed",
+                        "user": "testUser", "groups": ["opnfv-testapi-users",
+                        "opnfv-gerrit-functest-submitters"], "email": "testuser@test.com"
+                    }
+            }
+            },
+            {
+                request: {
+                    path: '/api/v1/pods/test1',
+                    method: 'DELETE'
+                },
+                response: {
+                    status : 403,
+                    data : 'pods do not exist'
+                }
+            }
+        ]);
         browser.get(baseURL+"#/pods");
         var deleteOperation = element(by.css('a[title=Delete]'));
         deleteOperation.click();
         var buttonOK = element(by.buttonText('Ok'));
-               buttonOK.click();
+        buttonOK.click();
         expect(element(by.css(".alert.alert-danger"))
         .isDisplayed()).toBe(true);
-       });
+    });
 
-       it('view the test case ', function () {
-               browser.get(baseURL+"#/pods");
-        var viewOperation = element(by.css('a[class=text-info]'));
+    it('view the test case ', function () {
+        browser.get(baseURL+"#/pods");
+        var viewOperation = element(by.linkText('test'));
         viewOperation.click();
         var EC = browser.ExpectedConditions;
         browser.wait(EC.urlContains('#/pods/test'), 10000);
-       });
+    });
 
-       it('Show error if server is not responding', function () {
-               mock.teardown();
-               mock([{
-                               request: {
-                                       path: '/api/v1/pods',
-                                       method: 'GET'
-                               },
-                               response: {
-                                       status : 404
-                       }
-                       },
-                       {
-                               request: {
-                               path: '/api/v1/profile',
-                               method: 'GET'
-                               },
-                               response: {
-                                       data: {
-                                               "fullname": "Test User", "_id": "79f82eey9a00c84bfhc7aed",
-                                               "user": "testUser", "groups": ["opnfv-testapi-users",
-                                               "opnfv-gerrit-functest-submitters"], "email": "testuser@test.com"
-                                       }
-                       }
-                       },
-               ]);
+    it('Show error if server is not responding', function () {
+        mock.teardown();
+        mock([{
+                request: {
+                    path: '/api/v1/pods',
+                    method: 'GET'
+                },
+                response: {
+                    status : 404
+            }
+            },
+            {
+                request: {
+                path: '/api/v1/profile',
+                method: 'GET'
+                },
+                response: {
+                    data: {
+                        "fullname": "Test User", "_id": "79f82eey9a00c84bfhc7aed",
+                        "user": "testUser", "groups": ["opnfv-testapi-users",
+                        "opnfv-gerrit-functest-submitters"], "email": "testuser@test.com"
+                    }
+            }
+            },
+        ]);
         browser.get(baseURL+"#/pods");
         expect(element(by.css(".alert.alert-danger"))
         .isDisplayed()).toBe(true);
-       });
+    });
 
 });
\ No newline at end of file
index 8b908c9..015dcbb 100644 (file)
@@ -15,7 +15,7 @@ describe('testing the Projects Link for anonymous user', function () {
                     data: {
                         "projects": [
                             {
-                            "owner": "thuva4",
+                            "creator": "thuva4",
                             "_id": "5a0c022f9a07c846d3c2cc94",
                             "creation_date": "2017-11-15 14:30:31.200259",
                             "description": "dsfsd",
@@ -28,13 +28,13 @@ describe('testing the Projects Link for anonymous user', function () {
         ]);
     });
 
-       afterEach(function(){
-               mock.teardown();
-       });
+    afterEach(function(){
+        mock.teardown();
+    });
 
-       it( 'should show the Projects Link for anonymous user', function() {
+    it( 'should show the Projects Link for anonymous user', function() {
         mock.teardown();
-               browser.get(baseURL);
+        browser.get(baseURL);
         var projectslink = element(by.linkText('Projects'));
         expect(projectslink.isPresent()).toBe(true);
     });
@@ -70,10 +70,10 @@ describe('testing the Projects Link for anonymous user', function () {
     // });
 
     it('delete Operation is not  visible for anonymous user ', function () {
-               browser.get(baseURL+'#/projects');
-               var deleteOperation = element(by.css('a[title=Delete]'));
-               expect(deleteOperation.isDisplayed()).toBeFalsy();
-       });
+        browser.get(baseURL+'#/projects');
+        var deleteOperation = element(by.css('a[title=Delete]'));
+        expect(deleteOperation.isDisplayed()).toBeFalsy();
+    });
 
 });
 
@@ -122,7 +122,7 @@ describe('testing the Project Link for user who is not in submitter group', func
                         data: {
                             "projects": [
                                 {
-                                "owner": "thuva4",
+                                "creator": "thuva4",
                                 "_id": "5a0c022f9a07c846d3c2cc94",
                                 "creation_date": "2017-11-15 14:30:31.200259",
                                 "description": "dsfsd",
@@ -136,8 +136,8 @@ describe('testing the Project Link for user who is not in submitter group', func
         });
 
         afterEach(function(){
-                   mock.teardown();
-       });
+            mock.teardown();
+        });
 
         it( 'should show the Project Link for user', function() {
             browser.get(baseURL);
@@ -280,8 +280,8 @@ describe('testing the Project Link for user who is in submitter group', function
     });
 
     afterEach(function(){
-               mock.teardown();
-       });
+        mock.teardown();
+    });
 
     it( 'should show the Project Link for user', function() {
         browser.get(baseURL);
@@ -363,7 +363,7 @@ describe('testing the Project Link for user who is in submitter group', function
     });
 
     it('Show error when user click the create button with an already existing name', function () {
-               browser.get(baseURL+"#/projects");
+        browser.get(baseURL+"#/projects");
         var buttonCreate = element(by.buttonText('Create'));
         buttonCreate.click();
         var name = element(by.model('ProjectModalCtrl.project.name'));
@@ -371,7 +371,7 @@ describe('testing the Project Link for user who is in submitter group', function
         browser.wait(EC.visibilityOf(name), 5000);
         var description = element(by.model('ProjectModalCtrl.project.description'));
         name.sendKeys('testProject3');
-               description.sendKeys('demoDescription');
+        description.sendKeys('demoDescription');
         var buttonOK = element(by.buttonText('Ok'));
         buttonOK.click();
         expect(element(by.css(".alert.alert-danger")).isDisplayed()).toBe(true);
@@ -545,9 +545,9 @@ describe('testing the Project Link for user who is in submitter group', function
         .isDisplayed()).toBe(true);
     });
 
-       it('If backend is not responding then show error when user click the create button',function(){
-               mock.teardown();
-               mock([
+    it('If backend is not responding then show error when user click the create button',function(){
+        mock.teardown();
+        mock([
             {
                 request: {
                     path: '/api/v1/profile',
@@ -563,8 +563,8 @@ describe('testing the Project Link for user who is in submitter group', function
                     }
                 }
             }
-               ]);
-               browser.get(baseURL+"#/projects");
+        ]);
+        browser.get(baseURL+"#/projects");
         var buttonCreate = element(by.buttonText('Create'));
         buttonCreate.click();
         var name = element(by.model('ProjectModalCtrl.project.name'));
@@ -572,10 +572,10 @@ describe('testing the Project Link for user who is in submitter group', function
         browser.wait(EC.visibilityOf(name), 5000);
         var details = element(by.model('ProjectModalCtrl.project.description'));
         name.sendKeys('testproject');
-               details.sendKeys('demoDescription');
-               var buttonOK = element(by.buttonText('Ok'));
-               buttonOK.click().then(function(){
-                       expect(element(by.css(".alert.alert-danger")).isDisplayed()).toBe(true);
+        details.sendKeys('demoDescription');
+        var buttonOK = element(by.buttonText('Ok'));
+        buttonOK.click().then(function(){
+            expect(element(by.css(".alert.alert-danger")).isDisplayed()).toBe(true);
         });
-       });
+    });
 })
index f97a621..60d4949 100644 (file)
@@ -224,7 +224,7 @@ describe('testing the scenarios page for anonymous user', function () {
         browser.get(baseURL+"#/scenarios/test-scenario");
         var EC = browser.ExpectedConditions;
         browser.wait(EC.urlContains(baseURL+ '#/scenarios/test-scenario'), 10000);
-        var buttonAdd = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[2]/button'))
+        var buttonAdd = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[2]/button'))
         expect(buttonAdd.isDisplayed()).toBe(false);
     });
 
@@ -232,7 +232,7 @@ describe('testing the scenarios page for anonymous user', function () {
         browser.get(baseURL+"#/scenarios/test-scenario");
         var EC = browser.ExpectedConditions;
         browser.wait(EC.urlContains(baseURL+ '#/scenarios/test-scenario'), 10000);
-        var installerShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[1]/a/p'))
+        var installerShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[1]/a'))
         installerShow.click();
         var row = element.all(by.repeater('(indexI, installer) in ctrl.data.scenarios[0].installers')).first();
         var cells = row.all(by.tagName('td'));
@@ -243,9 +243,9 @@ describe('testing the scenarios page for anonymous user', function () {
         browser.get(baseURL+"#/scenarios/test-scenario");
         var EC = browser.ExpectedConditions;
         browser.wait(EC.urlContains(baseURL+ '#/scenarios/test-scenario'), 10000);
-        var installersShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[1]/a/p'))
+        var installersShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[1]/a'))
         installersShow.click();
-        var installerDelete = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[1]/td[3]/button'))
+        var installerDelete = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[1]/td[3]/button'))
         expect(installerDelete.isDisplayed()).toBe(false);
     });
 
@@ -253,11 +253,11 @@ describe('testing the scenarios page for anonymous user', function () {
         browser.get(baseURL+"#/scenarios/test-scenario");
         var EC = browser.ExpectedConditions;
         browser.wait(EC.urlContains(baseURL+ '#/scenarios/test-scenario'), 10000);
-        var installersShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[1]/a/p'))
+        var installersShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[1]/a/p'))
         installersShow.click();
-        var installerShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
+        var installerShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
         installerShow.click();
-        var versionsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[1]/a/p'))
+        var versionsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[1]/a/p'))
         expect(versionsShow.isDisplayed()).toBe(true)
     });
 
@@ -265,13 +265,13 @@ describe('testing the scenarios page for anonymous user', function () {
         browser.get(baseURL+"#/scenarios/test-scenario");
         var EC = browser.ExpectedConditions;
         browser.wait(EC.urlContains(baseURL+ '#/scenarios/test-scenario'), 10000);
-        var installersShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[1]/a/p'))
+        var installersShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[1]/a/p'))
         installersShow.click();
-        var installerShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
+        var installerShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
         installerShow.click();
-        var versionsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[1]/a/p'))
+        var versionsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[1]/a/p'))
         versionsShow.click();
-        var versionShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
+        var versionShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
         expect(versionShow.isDisplayed()).toBe(true);
     });
 
@@ -279,15 +279,15 @@ describe('testing the scenarios page for anonymous user', function () {
         browser.get(baseURL+"#/scenarios/test-scenario");
         var EC = browser.ExpectedConditions;
         browser.wait(EC.urlContains(baseURL+ '#/scenarios/test-scenario'), 10000);
-        var installersShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[1]/a/p'))
+        var installersShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[1]/a/p'))
         installersShow.click();
-        var installerShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
+        var installerShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
         installerShow.click();
-        var versionsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[1]/a/p'))
+        var versionsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[1]/a/p'))
         versionsShow.click();
-        var versionShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
+        var versionShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
         versionShow.click()
-        var projectsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[1]/a'))
+        var projectsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[1]/a'))
         expect(projectsShow.isDisplayed()).toBe(true);
     });
 
@@ -295,17 +295,17 @@ describe('testing the scenarios page for anonymous user', function () {
         browser.get(baseURL+"#/scenarios/test-scenario");
         var EC = browser.ExpectedConditions;
         browser.wait(EC.urlContains(baseURL+ '#/scenarios/test-scenario'), 10000);
-        var installersShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[1]/a/p'))
+        var installersShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[1]/a/p'))
         installersShow.click();
-        var installerShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
+        var installerShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
         installerShow.click();
-        var versionsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[1]/a/p'))
+        var versionsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[1]/a/p'))
         versionsShow.click();
-        var versionShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
+        var versionShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
         versionShow.click()
-        var projectsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[1]/a'))
+        var projectsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[1]/a'))
         projectsShow.click();
-        var projectShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
+        var projectShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
         expect(projectShow.isDisplayed()).toBe(true)
     });
 
@@ -313,23 +313,23 @@ describe('testing the scenarios page for anonymous user', function () {
         browser.get(baseURL+"#/scenarios/test-scenario");
         var EC = browser.ExpectedConditions;
         browser.wait(EC.urlContains(baseURL+ '#/scenarios/test-scenario'), 10000);
-        var installersShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[1]/a/p'))
+        var installersShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[1]/a/p'))
         installersShow.click();
-        var installerShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
+        var installerShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
         installerShow.click();
-        var versionsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[1]/a/p'))
+        var versionsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[1]/a/p'))
         versionsShow.click();
-        var versionShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
+        var versionShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
         versionShow.click()
-        var projectsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[1]/a'))
+        var projectsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[1]/a'))
         projectsShow.click();
-        var projectShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
+        var projectShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
         projectShow.click();
-        var customsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[3]/div/table/tbody/tr[4]/td[2]/a/p'))
+        var customsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[3]/div/table/tbody/tr[4]/td[2]/a/p'))
         expect(customsShow.isDisplayed()).toBe(true)
-        var trustIndicatorsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/a/p'))
+        var trustIndicatorsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/a/p'))
         expect(trustIndicatorsShow.isDisplayed()).toBe(true)
-        var scoresShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/a/p'))
+        var scoresShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/a/p'))
         expect(scoresShow.isDisplayed()).toBe(true)
     });
 
@@ -666,7 +666,7 @@ describe('testing the scenarios page for anonymous user', function () {
         browser.get(baseURL+"#/scenarios/test-scenario");
         var EC = browser.ExpectedConditions;
         browser.wait(EC.urlContains(baseURL+ '#/scenarios/test-scenario'), 10000);
-        var buttonAdd = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[2]/button'))
+        var buttonAdd = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[2]/button'))
         expect(buttonAdd.isDisplayed()).toBe(true);
     });
 
@@ -674,7 +674,7 @@ describe('testing the scenarios page for anonymous user', function () {
         browser.get(baseURL+"#/scenarios/test-scenario");
         var EC = browser.ExpectedConditions;
         browser.wait(EC.urlContains(baseURL+ '#/scenarios/test-scenario'), 10000);
-        var buttonAdd = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[2]/button'))
+        var buttonAdd = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[2]/button'))
         buttonAdd.click();
         var name = element(by.model('installerModalCtrl.installer.installer'));
         var EC = browser.ExpectedConditions;
@@ -691,7 +691,7 @@ describe('testing the scenarios page for anonymous user', function () {
         browser.get(baseURL+"#/scenarios/test-scenario");
         var EC = browser.ExpectedConditions;
         browser.wait(EC.urlContains(baseURL+ '#/scenarios/test-scenario'), 10000);
-        var installerShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[1]/a/p'))
+        var installerShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[1]/a/p'))
         installerShow.click();
         var row = element.all(by.repeater('(indexI, installer) in ctrl.data.scenarios[0].installers')).first();
         var cells = row.all(by.tagName('td'));
@@ -702,9 +702,9 @@ describe('testing the scenarios page for anonymous user', function () {
         browser.get(baseURL+"#/scenarios/test-scenario");
         var EC = browser.ExpectedConditions;
         browser.wait(EC.urlContains(baseURL+ '#/scenarios/test-scenario'), 10000);
-        var installersShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[1]/a/p'))
+        var installersShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[1]/a/p'))
         installersShow.click();
-        var installerDelete = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[1]/td[3]/button'))
+        var installerDelete = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[1]/td[3]/button'))
         expect(installerDelete.isDisplayed()).toBe(true);
     });
 
@@ -712,9 +712,9 @@ describe('testing the scenarios page for anonymous user', function () {
         browser.get(baseURL+"#/scenarios/test-scenario");
         var EC = browser.ExpectedConditions;
         browser.wait(EC.urlContains(baseURL+ '#/scenarios/test-scenario'), 10000);
-        var installersShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[1]/a/p'))
+        var installersShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[1]/a/p'))
         installersShow.click();
-        var installerDelete = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[1]/td[3]/button'))
+        var installerDelete = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[1]/td[3]/button'))
         installerDelete.click()
         var buttonOK = element(by.buttonText('Ok'));
         buttonOK.click();
@@ -726,11 +726,11 @@ describe('testing the scenarios page for anonymous user', function () {
         browser.get(baseURL+"#/scenarios/test-scenario");
         var EC = browser.ExpectedConditions;
         browser.wait(EC.urlContains(baseURL+ '#/scenarios/test-scenario'), 10000);
-        var installersShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[1]/a/p'))
+        var installersShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[1]/a/p'))
         installersShow.click();
-        var installerShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
+        var installerShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
         installerShow.click();
-        var versionsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[1]/a/p'))
+        var versionsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[1]/a/p'))
         expect(versionsShow.isDisplayed()).toBe(true)
     });
 
@@ -738,11 +738,11 @@ describe('testing the scenarios page for anonymous user', function () {
         browser.get(baseURL+"#/scenarios/test-scenario");
         var EC = browser.ExpectedConditions;
         browser.wait(EC.urlContains(baseURL+ '#/scenarios/test-scenario'), 10000);
-        var installersShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[1]/a/p'))
+        var installersShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[1]/a/p'))
         installersShow.click();
-        var installerShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
+        var installerShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
         installerShow.click();
-        var versionAdd = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[2]/button'))
+        var versionAdd = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[2]/button'))
         versionAdd.click()
         var version = element(by.model('versionModalCtrl.version.version'));
         browser.wait(EC.visibilityOf(version), 5000);
@@ -759,16 +759,16 @@ describe('testing the scenarios page for anonymous user', function () {
         browser.get(baseURL+"#/scenarios/test-scenario");
         var EC = browser.ExpectedConditions;
         browser.wait(EC.urlContains(baseURL+ '#/scenarios/test-scenario'), 10000);
-        var installersShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[1]/a/p'))
+        var installersShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[1]/a/p'))
         installersShow.click();
-        var installerShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
+        var installerShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
         installerShow.click();
-        var versionsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[1]/a/p'))
+        var versionsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[1]/a/p'))
         versionsShow.click();
-        var versionShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
+        var versionShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
         expect(versionShow.isDisplayed()).toBe(true);
-        var installerAdd = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[2]/button'))
-        var installerDelete = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[1]/td[3]/button'))
+        var installerAdd = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[2]/button'))
+        var installerDelete = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[1]/td[3]/button'))
         expect(installerAdd.isDisplayed()).toBe(false);
         expect(installerDelete.isDisplayed()).toBe(false)
     });
@@ -777,15 +777,15 @@ describe('testing the scenarios page for anonymous user', function () {
         browser.get(baseURL+"#/scenarios/test-scenario");
         var EC = browser.ExpectedConditions;
         browser.wait(EC.urlContains(baseURL+ '#/scenarios/test-scenario'), 10000);
-        var installersShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[1]/a/p'))
+        var installersShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[1]/a/p'))
         installersShow.click();
-        var installerShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
+        var installerShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
         installerShow.click();
-        var versionsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[1]/a/p'))
+        var versionsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[1]/a/p'))
         versionsShow.click();
-        var versionShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
+        var versionShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
         versionShow.click()
-        var versionDelete = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody[1]/tr[1]/td[3]/button'))
+        var versionDelete = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody[1]/tr[1]/td[3]/button'))
         versionDelete.click()
         var buttonOK = element(by.buttonText('Ok'));
         buttonOK.click();
@@ -797,15 +797,15 @@ describe('testing the scenarios page for anonymous user', function () {
         browser.get(baseURL+"#/scenarios/test-scenario");
         var EC = browser.ExpectedConditions;
         browser.wait(EC.urlContains(baseURL+ '#/scenarios/test-scenario'), 10000);
-        var installersShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[1]/a/p'))
+        var installersShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[1]/a/p'))
         installersShow.click();
-        var installerShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
+        var installerShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
         installerShow.click();
-        var versionsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[1]/a/p'))
+        var versionsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[1]/a/p'))
         versionsShow.click();
-        var versionShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
+        var versionShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
         versionShow.click()
-        var projectsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[1]/a'))
+        var projectsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[1]/a'))
         expect(projectsShow.isDisplayed()).toBe(true);
     });
 
@@ -813,15 +813,15 @@ describe('testing the scenarios page for anonymous user', function () {
         browser.get(baseURL+"#/scenarios/test-scenario");
         var EC = browser.ExpectedConditions;
         browser.wait(EC.urlContains(baseURL+ '#/scenarios/test-scenario'), 10000);
-        var installersShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[1]/a/p'))
+        var installersShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[1]/a/p'))
         installersShow.click();
-        var installerShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
+        var installerShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
         installerShow.click();
-        var versionsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[1]/a/p'))
+        var versionsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[1]/a/p'))
         versionsShow.click();
-        var versionShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
+        var versionShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
         versionShow.click()
-        var projectAdd = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[2]/button'))
+        var projectAdd = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[2]/button'))
         projectAdd.click()
         var project = element(by.model('projectModalCtrl.project.project'));
         browser.wait(EC.visibilityOf(project), 5000);
@@ -836,20 +836,20 @@ describe('testing the scenarios page for anonymous user', function () {
         browser.get(baseURL+"#/scenarios/test-scenario");
         var EC = browser.ExpectedConditions;
         browser.wait(EC.urlContains(baseURL+ '#/scenarios/test-scenario'), 10000);
-        var installersShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[1]/a/p'))
+        var installersShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[1]/a/p'))
         installersShow.click();
-        var installerShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
+        var installerShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
         installerShow.click();
-        var versionsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[1]/a/p'))
+        var versionsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[1]/a/p'))
         versionsShow.click();
-        var versionShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
+        var versionShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
         versionShow.click()
-        var projectsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[1]/a'))
+        var projectsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[1]/a'))
         projectsShow.click();
-        var projectShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
+        var projectShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
         expect(projectShow.isDisplayed()).toBe(true)
-        var versionAdd = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[2]/button'))
-        var versionDelete = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[1]/td[3]/button'))
+        var versionAdd = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[2]/button'))
+        var versionDelete = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[1]/td[3]/button'))
         expect(versionAdd.isDisplayed()).toBe(false)
         expect(versionDelete.isDisplayed()).toBe(false)
     });
@@ -858,17 +858,17 @@ describe('testing the scenarios page for anonymous user', function () {
         browser.get(baseURL+"#/scenarios/test-scenario");
         var EC = browser.ExpectedConditions;
         browser.wait(EC.urlContains(baseURL+ '#/scenarios/test-scenario'), 10000);
-        var installersShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[1]/a/p'))
+        var installersShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[1]/a/p'))
         installersShow.click();
-        var installerShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
+        var installerShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
         installerShow.click();
-        var versionsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[1]/a/p'))
+        var versionsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[1]/a/p'))
         versionsShow.click();
-        var versionShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
+        var versionShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
         versionShow.click()
-        var projectsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[1]/a'))
+        var projectsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[1]/a'))
         projectsShow.click();
-        var projectDelete = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[3]/div/table/tbody[1]/tr[1]/td[3]/button'))
+        var projectDelete = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[3]/div/table/tbody[1]/tr[1]/td[3]/button'))
         projectDelete.click()
         var buttonOK = element(by.buttonText('Ok'));
         buttonOK.click();
@@ -880,23 +880,23 @@ describe('testing the scenarios page for anonymous user', function () {
         browser.get(baseURL+"#/scenarios/test-scenario");
         var EC = browser.ExpectedConditions;
         browser.wait(EC.urlContains(baseURL+ '#/scenarios/test-scenario'), 10000);
-        var installersShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[1]/a/p'))
+        var installersShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[1]/a/p'))
         installersShow.click();
-        var installerShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
+        var installerShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
         installerShow.click();
-        var versionsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[1]/a/p'))
+        var versionsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[1]/a/p'))
         versionsShow.click();
-        var versionShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
+        var versionShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
         versionShow.click()
-        var projectsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[1]/a'))
+        var projectsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[1]/a'))
         projectsShow.click();
-        var projectShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
+        var projectShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
         projectShow.click();
-        var customsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[3]/div/table/tbody/tr[4]/td[2]/a/p'))
+        var customsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[3]/div/table/tbody/tr[4]/td[2]/a/p'))
         expect(customsShow.isDisplayed()).toBe(true)
-        var trustIndicatorsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/a/p'))
+        var trustIndicatorsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/a/p'))
         expect(trustIndicatorsShow.isDisplayed()).toBe(true)
-        var scoresShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/a/p'))
+        var scoresShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/a/p'))
         expect(scoresShow.isDisplayed()).toBe(true)
     });
 
@@ -904,19 +904,19 @@ describe('testing the scenarios page for anonymous user', function () {
         browser.get(baseURL+"#/scenarios/test-scenario");
         var EC = browser.ExpectedConditions;
         browser.wait(EC.urlContains(baseURL+ '#/scenarios/test-scenario'), 10000);
-        var installersShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[1]/a/p'))
+        var installersShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[1]/a/p'))
         installersShow.click();
-        var installerShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
+        var installerShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
         installerShow.click();
-        var versionsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[1]/a/p'))
+        var versionsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[1]/a/p'))
         versionsShow.click();
-        var versionShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
+        var versionShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
         versionShow.click()
-        var projectsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[1]/a'))
+        var projectsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[1]/a'))
         projectsShow.click();
-        var projectShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
+        var projectShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
         projectShow.click();
-        var trustIndicatorsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/a/p'))
+        var trustIndicatorsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/a/p'))
         trustIndicatorsShow.click();
         var row = element.all(by.repeater('(indexTI, trust_indicator) in project.trust_indicators')).first();
         var cells = row.all(by.tagName('td'));
@@ -927,19 +927,19 @@ describe('testing the scenarios page for anonymous user', function () {
         browser.get(baseURL+"#/scenarios/test-scenario");
         var EC = browser.ExpectedConditions;
         browser.wait(EC.urlContains(baseURL+ '#/scenarios/test-scenario'), 10000);
-        var installersShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[1]/a/p'))
+        var installersShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[1]/a/p'))
         installersShow.click();
-        var installerShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
+        var installerShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
         installerShow.click();
-        var versionsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[1]/a/p'))
+        var versionsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[1]/a/p'))
         versionsShow.click();
-        var versionShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
+        var versionShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
         versionShow.click()
-        var projectsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[1]/a'))
+        var projectsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[1]/a'))
         projectsShow.click();
-        var projectShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
+        var projectShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
         projectShow.click();
-        var scoresShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[3]/div/table/tbody[1]/tr[3]/td[2]/a/p'))
+        var scoresShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[3]/div/table/tbody[1]/tr[3]/td[2]/a/p'))
         scoresShow.click();
         var row = element.all(by.repeater('(indexSC, score) in project.scores')).first();
         var cells = row.all(by.tagName('td'));
@@ -950,29 +950,29 @@ describe('testing the scenarios page for anonymous user', function () {
         browser.get(baseURL+"#/scenarios/test-scenario");
         var EC = browser.ExpectedConditions;
         browser.wait(EC.urlContains(baseURL+ '#/scenarios/test-scenario'), 10000);
-        var installersShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[1]/a/p'))
+        var installersShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[1]/a/p'))
         installersShow.click();
-        var installerShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
+        var installerShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
         installerShow.click();
-        var versionsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[1]/a/p'))
+        var versionsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[1]/a/p'))
         versionsShow.click();
-        var versionShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
+        var versionShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
         versionShow.click()
-        var projectsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[1]/a'))
+        var projectsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[1]/a'))
         projectsShow.click();
-        var projectShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
+        var projectShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
         projectShow.click();
-        var customsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[3]/div/table/tbody[1]/tr[4]/td[2]/a/p'))
+        var customsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[3]/div/table/tbody[1]/tr[4]/td[2]/a/p'))
         customsShow.click();
         var row = element.all(by.repeater('(indexCU, custom) in project.customs')).first();
         var cells = row.all(by.tagName('td'));
         expect(cells.get(0).getText()).toContain("dvs");
-        var projectAdd = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[2]/button'))
-        var projectDelete = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[3]/div/table/tbody[1]/tr[1]/td[3]/button'))
+        var projectAdd = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[2]/button'))
+        var projectDelete = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[3]/div/table/tbody[1]/tr[1]/td[3]/button'))
         expect(projectDelete.isDisplayed()).toBe(false)
         expect(projectAdd.isDisplayed()).toBe(false)
-        var buttonAdd = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[3]/div/table/tbody[1]/tr[4]/td[2]/button'))
-        var buttonDelete = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[3]/div/table/tbody[1]/tr[4]/td[2]/table/tbody/tr[1]/td[2]/button'))
+        var buttonAdd = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[3]/div/table/tbody[1]/tr[4]/td[2]/button'))
+        var buttonDelete = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[3]/div/table/tbody[1]/tr[4]/td[2]/table/tbody/tr[1]/td[2]/button'))
         expect(buttonAdd.isDisplayed()).toBe(true)
         expect(buttonDelete.isDisplayed()).toBe(true)
     });
@@ -981,24 +981,24 @@ describe('testing the scenarios page for anonymous user', function () {
         browser.get(baseURL+"#/scenarios/test-scenario");
         var EC = browser.ExpectedConditions;
         browser.wait(EC.urlContains(baseURL+ '#/scenarios/test-scenario'), 10000);
-        var installersShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[1]/a/p'))
+        var installersShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[1]/a/p'))
         installersShow.click();
-        var installerShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
+        var installerShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
         installerShow.click();
-        var versionsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[1]/a/p'))
+        var versionsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[1]/a/p'))
         versionsShow.click();
-        var versionShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
+        var versionShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
         versionShow.click()
-        var projectsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[1]/a'))
+        var projectsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[1]/a'))
         projectsShow.click();
-        var projectShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
+        var projectShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
         projectShow.click();
-        var customsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[3]/div/table/tbody[1]/tr[4]/td[2]/a/p'))
+        var customsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[3]/div/table/tbody[1]/tr[4]/td[2]/a/p'))
         customsShow.click();
         var row = element.all(by.repeater('(indexCU, custom) in project.customs')).first();
         var cells = row.all(by.tagName('td'));
         expect(cells.get(0).getText()).toContain("dvs");
-        var buttonAdd = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[3]/div/table/tbody[1]/tr[4]/td[2]/button'))
+        var buttonAdd = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[3]/div/table/tbody[1]/tr[4]/td[2]/button'))
         buttonAdd.click()
         var custom = element(by.model('customModalCtrl.custom'));
         browser.wait(EC.visibilityOf(custom), 5000);
@@ -1013,24 +1013,24 @@ describe('testing the scenarios page for anonymous user', function () {
         browser.get(baseURL+"#/scenarios/test-scenario");
         var EC = browser.ExpectedConditions;
         browser.wait(EC.urlContains(baseURL+ '#/scenarios/test-scenario'), 10000);
-        var installersShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[1]/a/p'))
+        var installersShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[1]/a/p'))
         installersShow.click();
-        var installerShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
+        var installerShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
         installerShow.click();
-        var versionsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[1]/a/p'))
+        var versionsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[1]/a/p'))
         versionsShow.click();
-        var versionShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
+        var versionShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
         versionShow.click()
-        var projectsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[1]/a'))
+        var projectsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[1]/a'))
         projectsShow.click();
-        var projectShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
+        var projectShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[3]/div/table/tbody/tr[1]/td[2]/a'))
         projectShow.click();
-        var customsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[3]/div/table/tbody[1]/tr[4]/td[2]/a/p'))
+        var customsShow = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[3]/div/table/tbody[1]/tr[4]/td[2]/a/p'))
         customsShow.click();
         var row = element.all(by.repeater('(indexCU, custom) in project.customs')).first();
         var cells = row.all(by.tagName('td'));
         expect(cells.get(0).getText()).toContain("dvs");
-        var buttonAdd = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[4]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[3]/div/table/tbody[1]/tr[4]/td[2]/table/tbody/tr[1]/td[2]/button'))
+        var buttonAdd = element(by.xpath('//*[@id="ng-app"]/body/div/div[1]/div/table/tbody/tr[5]/td[2]/div[3]/div/table/tbody/tr[2]/td[2]/div[3]/div/table/tbody/tr[3]/td[2]/div[3]/div/table/tbody[1]/tr[4]/td[2]/table/tbody/tr[1]/td[2]/button'))
         buttonAdd.click()
         var buttonOk = element(by.xpath('//*[@id="ng-app"]/body/div[3]/div/div/div[3]/button[1]'))
         buttonOk.click()
index d509c57..4f21fd1 100644 (file)
@@ -15,7 +15,7 @@ describe('testing the testCases page for anonymous user', function () {
                     data: {
                         "projects": [
                             {
-                                "owner": "thuva4",
+                                "creator": "thuva4",
                                 "_id": "5a0c022f9a07c846d3c2cc94",
                                 "creation_date": "2017-11-15 14:30:31.200259",
                                 "description": "dsfsd",
@@ -32,7 +32,7 @@ describe('testing the testCases page for anonymous user', function () {
                 },
                 response: {
                     data: {
-                        "owner": "thuva4",
+                        "creator": "thuva4",
                         "_id": "5a0c022f9a07c846d3c2cc94",
                         "creation_date": "2017-11-15 14:30:31.200259",
                         "description": "dsfsd",
@@ -182,7 +182,7 @@ describe('testing the testcaese page for user who is not in submitter group', fu
                         data: {
                             "projects": [
                                 {
-                                    "owner": "thuva4",
+                                    "creator": "thuva4",
                                     "_id": "5a0c022f9a07c846d3c2cc94",
                                     "creation_date": "2017-11-15 14:30:31.200259",
                                     "description": "dsfsd",
@@ -199,7 +199,7 @@ describe('testing the testcaese page for user who is not in submitter group', fu
                     },
                     response: {
                         data: {
-                            "owner": "thuva4",
+                            "creator": "thuva4",
                             "_id": "5a0c022f9a07c846d3c2cc94",
                             "creation_date": "2017-11-15 14:30:31.200259",
                             "description": "dsfsd",
@@ -397,7 +397,7 @@ describe('testing the test cases page for user who is in submitter group', funct
                     data: {
                         "projects": [
                             {
-                                "owner": "thuva4",
+                                "creator": "thuva4",
                                 "_id": "5a0c022f9a07c846d3c2cc94",
                                 "creation_date": "2017-11-15 14:30:31.200259",
                                 "description": "dsfsd",
@@ -414,7 +414,7 @@ describe('testing the test cases page for user who is in submitter group', funct
                 },
                 response: {
                     data: {
-                        "owner": "thuva4",
+                        "creator": "thuva4",
                         "_id": "5a0c022f9a07c846d3c2cc94",
                         "creation_date": "2017-11-15 14:30:31.200259",
                         "description": "dsfsd",
index 6436b8b..9a7bc5c 100644 (file)
@@ -35,20 +35,21 @@ class TestBase(testing.AsyncHTTPTestCase):
                                     details='zte pod 1',
                                     role='community-ci',
                                     _id=str(ObjectId()),
-                                    owner='ValidUser',
+                                    creator='ValidUser',
                                     creation_date=str(datetime.now()))
         self.pod_e = pod_models.Pod(name='zte-pod2',
                                     mode='metal',
                                     details='zte pod 2',
                                     role='production-ci',
                                     _id=str(ObjectId()),
-                                    owner='ValidUser',
+                                    creator='ValidUser',
                                     creation_date=str(datetime.now()))
         self.project_e = project_models.Project(
             name='functest',
             description='functest test',
+            creator='ValidUser',
             _id=str(ObjectId()),
-            create_date=str(datetime.now()))
+            creation_date=str(datetime.now()))
 
         self.req_d = None
         self.req_e = None
index 2818513..d1eedc0 100644 (file)
@@ -27,7 +27,7 @@ class TestPodBase(base.TestBase):
     def assert_get_body(self, pod, req=None):
         if not req:
             req = self.req_d
-        self.assertEqual(pod, pm.Pod(owner='ValidUser', **req.format()))
+        self.assertEqual(pod, pm.Pod(creator='ValidUser', **req.format()))
         self.assertIsNotNone(pod.creation_date)
         self.assertIsNotNone(pod._id)
 
index 1be08b5..e335356 100644 (file)
@@ -128,7 +128,7 @@ module.exports = function (grunt) {
             },
             local: {
                 options: {
-                    configFile: '../tests/UI/protractor-conf.js'
+                    configFile: 'protractor-conf.js'
                 }
             }
         },
index b78eb2d..6aace92 100644 (file)
@@ -12,8 +12,8 @@
                     <td width="90%" class="podsTableLeftTd">{{ctrl.data.name}}</td>
                 </tr>
                 <tr style="padding:9px">
-                    <td class="podsTableTd">Owner&nbsp;:</td>
-                    <td width="90%" class="podsTableLeftTd">{{ctrl.data.owner}}</td>
+                    <td class="podsTableTd">Creator&nbsp;:</td>
+                    <td width="90%" class="podsTableLeftTd">{{ctrl.data.creator}}</td>
                 </tr>
                 <tr style="padding:9px">
                     <td class="podsTableTd">Role&nbsp;:</td>
index 2921bd9..b6a751c 100644 (file)
@@ -25,8 +25,8 @@
                                     <td width="90%" class="podsTableLeftTd">{{ctrl.data.name}}</td>
                                 </tr>
                                 <tr style="padding:9px">
-                                    <td class="podsTableTd">Owner&nbsp;:</td>
-                                    <td width="90%" class="podsTableLeftTd">{{ctrl.data.owner}}</td>
+                                    <td class="podsTableTd">Creator&nbsp;:</td>
+                                    <td width="90%" class="podsTableLeftTd">{{ctrl.data.creator}}</td>
                                 </tr>
                                 <tr style="padding:9px">
                                     <td class="podsTableTd">Created&nbsp;at&nbsp;:</td>
index 70c026a..f4bae41 100644 (file)
                         <td class="podsTableTd">Project&nbsp;:</td>
                         <td width="90%" class="podsTableLeftTd">{{ctrl.data.project_name}}</td>
                 </tr>
+                <tr style="padding:9px">
+                        <td class="podsTableTd">Creator&nbsp;:</td>
+                        <td width="90%" class="podsTableLeftTd">{{ctrl.data.creator}}</td>
+                </tr>
                 <tr style="padding:9px">
                         <td class="podsTableTd">Tier&nbsp;:</td>
                         <td  width="90%" class="podsTableLeftTd">{{ctrl.data.tier}}</td>
index 328a5e6..14ba42d 100644 (file)
                     <td class="podsTableTd">Name&nbsp;:</td>
                     <td width="90%" class="podsTableLeftTd">{{ctrl.data.scenarios[0].name}}</td>
                 </tr>
+                <tr style="padding:9px">
+                    <td class="podsTableTd">Creator&nbsp;:</td>
+                    <td width="90%" class="podsTableLeftTd">{{ctrl.data.scenarios[0].creator}}</td>
+                </tr>
                 <tr style="padding:9px">
                         <td class="podsTableTd">Created&nbsp;at&nbsp;:</td>
                         <td width="90%" class="podsTableLeftTd">{{ctrl.data.scenarios[0].creation_date}}</td>