diff options
author | thuva4 <tharma.thuva@gmail.com> | 2018-03-09 22:42:05 +0530 |
---|---|---|
committer | thuva4 <tharma.thuva@gmail.com> | 2018-03-09 22:42:05 +0530 |
commit | 0326a542bfae2126e8fa087c266bee5253f05991 (patch) | |
tree | 13de448d3f59100d75e2acb26766c0e8f447ec8f /testapi/opnfv_testapi/tests/UI/e2e | |
parent | f3a5531761a38cf40d0469209145394b31af2088 (diff) |
Add multple customs to scenario
User can add multiple customs by giving a
comma or space sperated string
JIRA: RELENG-344
Change-Id: I8e4b37fc476f39e10321755f1e67fe3605178406
Signed-off-by: thuva4 <tharma.thuva@gmail.com>
Diffstat (limited to 'testapi/opnfv_testapi/tests/UI/e2e')
-rw-r--r-- | testapi/opnfv_testapi/tests/UI/e2e/scenarioControllerSpec.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/testapi/opnfv_testapi/tests/UI/e2e/scenarioControllerSpec.js b/testapi/opnfv_testapi/tests/UI/e2e/scenarioControllerSpec.js index 14f3089..7777721 100644 --- a/testapi/opnfv_testapi/tests/UI/e2e/scenarioControllerSpec.js +++ b/testapi/opnfv_testapi/tests/UI/e2e/scenarioControllerSpec.js @@ -1040,10 +1040,7 @@ describe('testing the scenarios page for user', function () { buttonAdd.click() var custom = element(by.model('customModalCtrl.custom')); browser.wait(EC.visibilityOf(custom), 5000); - custom.sendKeys('testC'); - var buttonAddCustom = element(by.xpath('//*[@id="ng-app"]/body/div[3]/div/div/div/div[1]/div/fieldset/div/div/div/table/tfoot/tr/td[2]/input')) - buttonAddCustom.click(); - custom.sendKeys('testB'); + custom.sendKeys('testC,testD,'); var buttonOk = element(by.xpath('//*[@id="ng-app"]/body/div[3]/div/div/div/div[2]/button[1]')) buttonOk.click() expect(element(by.cssContainingText(".alert","Customs are successfully updated.")) |