<?php
-/*
+/**
* Copyright 2011, Roland Mas
+ * Copyright 2013, Franck Villaume - TrivialDev
*
* This file is part of FusionForge.
*
$this->type("title", "Doc1 Vladimir");
$this->type("//input[@name='description']", "Jenkins buildbot - also, ZONGO");
$this->click("//input[@name='type' and @value='pasteurl']");
- $this->type("file_url", "http://buildbot3.fusionforge.org/");
+ $this->type("file_url", "http://buildbot.fusionforge.org/");
$this->clickAndWait("submit");
$this->clickAndWait("addItemDocmanMenu");
$this->click("buttonDoc");
$this->type("title", "Doc2 Astromir");
- $this->type("//input[@name='description']", "Hudson (the needle) - also, ZONGO");
+ $this->type("//input[@name='description']", "Main website (the needle) - also, ZONGO");
$this->click("//input[@name='type' and @value='pasteurl']");
- $this->type("file_url", "http://buildbot.fusionforge.org/");
+ $this->type("file_url", "http://fusionforge.org/");
$this->clickAndWait("submit");
// Search in Documents
$this->waitForPageToLoad("30000");
$this->click ("//td/form/div[contains(.,'Trainee')]/../div/input[@value='Edit Permissions']") ;
$this->waitForPageToLoad("30000");
+ $this->select("//tr/td[.='Project visibility']/../td/select[contains(@name,'data[project_read]'))", "label=Visible");
$this->select("//tr/td[.='Bugs']/../td/select[contains(@name,'data[tracker]')]", "label=Read only");
$this->select("//tr/td[.='Patches']/../td/select[contains(@name,'data[tracker]')]", "label=No access");
$this->select("//tr/td[.='To Do']/../td/select[contains(@name,'data[pm]')]", "label=Read only");
$this->waitForPageToLoad("30000");
$this->click ("//td/form/div[contains(.,'Anonymous')]/../div/input[@value='Edit Permissions']") ;
$this->waitForPageToLoad("30000");
+ $this->select("//tr/td[.='Project visibility']/../td/select[contains(@name,'data[project_read]'))", "label=Visible");
$this->select("//tr/td[.='Bugs']/../td/select[contains(@name,'data[tracker]')]", "label=No access");
$this->select("//tr/td[.='Patches']/../td/select[contains(@name,'data[tracker]')]", "label=No access");
$this->select("//tr/td[.='To Do']/../td/select[contains(@name,'data[pm]')]", "label=No access");
}
}
-?>