activatePlugin('moinmoin'); $this->populateStandardTemplate('empty'); $this->init(); $this->clickAndWait("link=Admin"); $this->clickAndWait("link=Tools"); $this->click("use_moinmoin"); $this->clickAndWait("submit"); $this->assertTrue($this->isTextPresent("Project information updated")); $this->cron_for_plugin("create-wikis.php", "moinmoin"); sleep (5); $this->gotoProject('ProjectA'); $this->click("link=MoinMoinWiki"); sleep(10); // MoinMoinWiki has no

element, so no waitForPageToLoad() $this->assertFalse($this->isTextPresent("ConfigurationError")); $this->assertFalse($this->isTextPresent("Wiki not created yet")); $this->click("link=Create New Page"); sleep(5); // Grmf. $this->assertFalse($this->isTextPresent("You are not allowed")); $this->type("//textarea[@id='editor-textarea']", "Pardon me, boy Is that the Chattanooga choo choo?"); $this->click("//input[@name='button_save']"); sleep(5); // Grmf. $this->gotoProject('ProjectA'); $this->click("link=MoinMoinWiki"); sleep(5); // Grmf. $this->assertTrue($this->isTextPresent("Chattanooga")); } } // Local Variables: // mode: php // c-file-style: "bsd" // End: