$this->gotoProject('projecta');
$this->clickAndWait("link=Docs");
- $this->clickAndWait("link=Submit new documentation");
+ $this->clickAndWait("addItemDocmanMenu");
+ $this->click("buttonDoc");
$this->type("title", "Doc1 Vladimir");
$this->type("description", "Jenkins buildbot");
$this->click("//input[@name='type' and @value='pasteurl']");
$this->type("file_url", "http://buildbot3.fusionforge.org/");
$this->clickAndWait("submit");
- $this->clickAndWait("link=Submit new documentation");
+ $this->clickAndWait("addItemDocmanMenu");
+ $this->click("buttonDoc");
$this->type("title", "Doc2 Astromir");
$this->type("description", "Hudson (the needle)");
$this->click("//input[@name='type' and @value='pasteurl']");