diff options
author | Serena Feng <feng.xiaowei@zte.com.cn> | 2018-03-12 06:09:27 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-03-12 06:09:27 +0000 |
commit | c22ede1f489a6b8df123c657a6a0001103eb7ba4 (patch) | |
tree | eca8ef9b120e2b5911310fdc5177d5150af0182b /testapi/opnfv_testapi/tests/UI/e2e | |
parent | bbdcddf48b7c47f39e65320df46be038ceed8f46 (diff) | |
parent | 0326a542bfae2126e8fa087c266bee5253f05991 (diff) |
Merge "Add multple customs to scenario"
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.")) |