$this->type("details", "brebis outremanchienne");
$this->clickAndWait("//form[@id='trackeraddform']//input[@type='submit']");
$this->clickAndWait("link=Bug1 boustrophédon");
- $this->type("details", 'Ceci était une référence au « Génie des Alpages », rien à voir avec Charlie - also, ZONGO');
- $this->clickAndWait("submit");
- $this->clickAndWait("link=Bug1 boustrophédon");
- $this->type("details", 'This is the needle');
+ $this->type("details", 'Ceci était une référence au « Génie des Alpages », rien à voir avec Charlie - also, ZONGO, and needle');
$this->clickAndWait("submit");
$this->clickAndWait("link=Tracker");
$this->clickAndWait("link=Patches");
$this->clickAndWait("link=Submit New");
$this->type("summary", "Bug2 gratapouêt");
- $this->type("details", "cthulhu was here - also, ZONGO");
+ $this->type("details", "cthulhu was here - also, ZONGO, and Charlie was here too");
$this->clickAndWait("//form[@id='trackeraddform']//input[@type='submit']");
- $this->clickAndWait("link=Bug2 gratapouêt");
- $this->type("details", 'Charlie was here too');
- $this->clickAndWait("submit");
// Search in trackers
$this->clickAndWait("submit");
$this->gotoProject('projecta');
+ $this->clickAndWait("link=Tasks");
$this->clickAndWait("link=Next Release");
$this->clickAndWait("link=Add Task");
$this->type("summary", "Task2 world peace");
$this->gotoProject('projecta');
$this->clickAndWait('Link=Advanced search');
- $this->click("//a[contains(@href,'short_forum') and .='all']");
- $this->click("//a[contains(@href,'short_tracker') and .='all']");
- $this->click("//a[contains(@href,'short_pm') and .='all']");
- $this->click("//a[contains(@href,'short_docman') and .='all']");
- $this->click("//a[contains(@href,'short_news') and .='all']");
+ $this->click("//input[@class='checkthemall']");
$this->type("//div[@id='maindiv']//input[@name='words']", "zongo");
$this->clickAndWait("//input[@name='submitbutton']");
$this->assertTrue($this->isTextPresent("Bug1"));
// Now let's check that RBAC permissions are taken into account
- $this->createUser('piperade');
$this->gotoProject('projecta');
$this->click("link=Admin");
$this->waitForPageToLoad("30000");
$this->click("link=Users and permissions");
$this->waitForPageToLoad("30000");
- $this->type ("//form[contains(@action,'users.php')]//input[@name='form_unix_name' and @type='text']", "piperade") ;
+ $this->type ("//form[contains(@action,'users.php')]//input[@name='form_unix_name' and @type='text']", "ratatouille") ;
$this->select("//input[@value='Add Member']/../select[@name='role_id']", "label=Trainee");
$this->click ("//input[@value='Add Member']") ;
$this->waitForPageToLoad("30000");
$this->click ("//input[@value='Submit']") ;
$this->waitForPageToLoad("30000");
- $this->switchUser('piperade');
+ $this->switchUser('ratatouille');
$this->gotoProject('projecta');
$this->select("type_of_search", "label=Search the entire project");
$this->type("//input[@name='words']", "zongo");
$this->gotoProject('projecta');
$this->clickAndWait('Link=Advanced search');
- $this->click("//a[contains(@href,'short_forum') and .='all']");
- $this->click("//a[contains(@href,'short_tracker') and .='all']");
- $this->click("//a[contains(@href,'short_pm') and .='all']");
- $this->click("//a[contains(@href,'short_docman') and .='all']");
- $this->click("//a[contains(@href,'short_news') and .='all']");
+ $this->click("//input[@class='checkthemall']");
$this->type("//div[@id='maindiv']//input[@name='words']", "zongo");
$this->clickAndWait("//input[@name='submitbutton']");
$this->assertTrue($this->isTextPresent("Bug1"));
$this->gotoProject('projecta');
$this->clickAndWait('Link=Advanced search');
- $this->click("//a[contains(@href,'short_forum') and .='all']");
- $this->click("//a[contains(@href,'short_tracker') and .='all']");
- $this->assertFalse($this->isElementPresent("//a[contains(@href,'short_pm') and .='all']"));
- $this->assertFalse($this->isElementPresent("//a[contains(@href,'short_docman') and .='all']"));
- $this->click("//a[contains(@href,'short_news') and .='all']");
+ $this->click("//input[@class='checkthemall']");
+ $this->assertFalse($this->isElementPresent("//input[@name='short_pm_checkall']"));
+ $this->assertFalse($this->isElementPresent("//input[@name='short_docman_checkall']"));
$this->type("//div[@id='maindiv']//input[@name='words']", "zongo");
$this->clickAndWait("//input[@name='submitbutton']");
$this->assertFalse($this->isTextPresent("Bug1"));