2 class BasicTest
extends PHPUnit_Extensions_Selenium2TestCase
{
4 public function setUp() {
5 $this->setHost('localhost');
7 $this->setBrowserUrl('http://localhost/tt-rss/');
8 $this->setBrowser('firefox');
11 public function setUpPage() {
12 $this->timeouts()->implicitWait(5000);
15 public function testLogin() {
16 $this->url('/index.php');
18 $this->byName("login")->value('admin');
19 $this->byName("password")->value('password');
20 $this->byCssSelector('#dijit_form_Button_0_label')->click();
22 $this->byCssSelector('#feedTree')->displayed();
25 public function testOpenFeed() {
28 $this->byCssSelector('#dijit__TreeNode_3')->click();
30 $this->byCssSelector('#RROW-1 > div.cdmHeader')->displayed();