summaryrefslogtreecommitdiffstats
path: root/testapi/opnfv_testapi/tests
diff options
context:
space:
mode:
authorthuva4 <tharma.thuva@gmail.com>2018-03-09 22:42:05 +0530
committerthuva4 <tharma.thuva@gmail.com>2018-03-09 22:42:05 +0530
commit0326a542bfae2126e8fa087c266bee5253f05991 (patch)
tree13de448d3f59100d75e2acb26766c0e8f447ec8f /testapi/opnfv_testapi/tests
parentf3a5531761a38cf40d0469209145394b31af2088 (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')
-rw-r--r--testapi/opnfv_testapi/tests/UI/e2e/scenarioControllerSpec.js5
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."))