Exemplo n.º 1
0
 public function setUp()
 {
     parent::setUp();
     $this->logInAsUser('user-1');
     $this->waitForLoadingAnimation();
     $this->webDriver->findElement(WebDriverBy::cssSelector("#sidebar li:nth-child(4) a"))->click();
     $this->waitForLoadingAnimation();
 }
Exemplo n.º 2
0
 public function setUp()
 {
     parent::setUp();
     $this->logInAsUser('user-1');
     $this->waitForLoadingAnimation();
     $this->webDriver->findElement(WebDriverBy::cssSelector("ul.groups > li:nth-child(1) > div > a:nth-child(2)"))->click();
     $this->waitForLoadingAnimation();
 }
Exemplo n.º 3
0
 public function setUp()
 {
     parent::setUp();
     $groupId = TestGroupFixtures::$groups['group-1']->getId();
     if (!in_array("#/group/{$groupId}", $this->pages)) {
         $this->pages[] = "#/group/{$groupId}";
     }
     if (!in_array("#/group/{$groupId}/add-test", $this->pages)) {
         $this->pages[] = "#/group/{$groupId}/add-test";
     }
     $testId = TestFixtures::$tests['test-1']->getId();
     if (!in_array("#/test/{$testId}", $this->pages)) {
         $this->pages[] = "#/test/{$testId}";
     }
     $this->logInAsUser('user-1');
     $this->waitForLoadingAnimation();
 }
Exemplo n.º 4
0
 public function setUp()
 {
     parent::setUp();
     $this->logInAsUser('user-1');
     $this->waitForLoadingAnimation();
 }
Exemplo n.º 5
0
 public function setUp()
 {
     parent::setUp();
     $this->logInAsUser1();
 }