1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-25 11:21:29 +00:00

add initial gitlab-ci and selenium stuff

This commit is contained in:
Andrew Dolgov
2017-04-25 13:44:41 +03:00
parent 3c11159776
commit 94eedc29c0
6 changed files with 347 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
<?php
class BasicTest extends PHPUnit_Extensions_Selenium2TestCase {
public function setUp() {
$this->setHost('localhost');
$this->setPort(4444);
$this->setBrowserUrl('http://localhost/tt-rss/');
$this->setBrowser('firefox');
}
public function setUpPage() {
$this->timeouts()->implicitWait(10000);
}
public function testLogin() {
$this->url('/index.php');
$this->byName("login")->value('admin');
$this->byName("password")->value('password');
$this->byCssSelector('#dijit_form_Button_0_label')->click();
$this->byCssSelector('#feedTree')->displayed();
}
}