$this->click("link=Add Mailing List");
$this->waitForPageToLoad("30000");
$this->type("list_name", "toto");
- $this->type("description", "Toto mailing list");
+ $this->type("//input[@name='description']", "Toto mailing list");
$this->click("submit");
$this->waitForPageToLoad("30000");
$this->assertTrue($this->isTextPresent("List Added"));
$this->waitForPageToLoad("30000");
$this->click("//body//div[@id='maindiv']/p[1]/strong/a[2]");
$this->waitForPageToLoad("30000");
- $this->click("link=Add forum");
+ $this->click("link=Add Forum");
$this->waitForPageToLoad("30000");
$this->type("forum_name", "toto");
- $this->type("description", "Toto forum");
+ $this->type("//input[@name='description']", "Toto forum");
$this->click("submit");
$this->waitForPageToLoad("30000");
$this->assertTrue($this->isTextPresent("Error: a mailing list with the same email address already exists"));
// mode: php
// c-file-style: "bsd"
// End:
-
-?>