X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=tests%2Fphpunit%2FWebTest%2FAdmin%2FCustomAddTest.php;h=fc5826d55e21b42fb9257cbc381f96ef5da1b2a3;hb=e22d01cd3d4016e392df7b0b76a713adffbb2b6d;hp=d7623aafbb319b1110d2a99b16014776ce718976;hpb=600b1e8d40c0c890a4496af3caa4842900df6056;p=civicrm-core.git diff --git a/tests/phpunit/WebTest/Admin/CustomAddTest.php b/tests/phpunit/WebTest/Admin/CustomAddTest.php index d7623aafbb..fc5826d55e 100644 --- a/tests/phpunit/WebTest/Admin/CustomAddTest.php +++ b/tests/phpunit/WebTest/Admin/CustomAddTest.php @@ -3,7 +3,7 @@ +--------------------------------------------------------------------+ | CiviCRM version 4.7 | +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2016 | + | Copyright CiviCRM LLC (c) 2004-2018 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | @@ -78,11 +78,11 @@ class WebTest_Admin_CustomAddTest extends CiviSeleniumTestCase { $checkboxOptionLabel2 = 'check2' . substr(sha1(rand()), 0, 3); $this->type("option_label_2", $checkboxOptionLabel2); $this->type("option_value_2", "2"); - $this->click("link=another choice"); + $this->click("link=add another choice"); $checkboxOptionLabel3 = 'check3' . substr(sha1(rand()), 0, 3); $this->type("option_label_3", $checkboxOptionLabel3); $this->type("option_value_3", "3"); - $this->click("link=another choice"); + $this->click("link=add another choice"); $checkboxOptionLabel4 = 'check4' . substr(sha1(rand()), 0, 3); $this->type("option_label_4", $checkboxOptionLabel4); $this->type("option_value_4", "4");