webtestLogin(); $this->openCiviPage("admin/setting/localization", "reset=1"); $this->addSelection("countryLimit", "label=UNITED STATES"); $this->click("//select[@id='countryLimit']/option"); $this->click("//input[@name='remove']"); $this->addSelection("countryLimit", "label=AFGHANISTAN"); $this->removeSelection("countryLimit", "label=AFGHANISTAN"); $this->addSelection("countryLimit", "label=CAMBODIA"); $this->removeSelection("countryLimit", "label=CAMBODIA"); $this->addSelection("countryLimit", "label=CAMEROON"); $this->removeSelection("countryLimit", "label=CAMEROON"); $this->addSelection("countryLimit", "label=CANADA"); $this->click("//input[@name='add']"); $this->click("_qf_Localization_next-bottom"); $this->waitForPageToLoad($this->getTimeoutMsec()); try { $this->assertFalse($this->isTextPresent("Your changes have been saved.")); } catch (PHPUnit_Framework_AssertionFailedError$e) { array_push($this->verificationErrors, $e->toString()); } } }