예제 #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();
 }
예제 #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();
 }
예제 #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();
 }
예제 #4
0
 public function setUp()
 {
     parent::setUp();
     $this->logInAsUser('user-1');
     $this->waitForLoadingAnimation();
 }
예제 #5
0
 public function setUp()
 {
     parent::setUp();
     $this->logInAsUser1();
 }