diff options
author | Andrew Dolgov <[email protected]> | 2018-12-03 15:46:54 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2018-12-03 15:46:54 +0300 |
commit | 4cb3a601a0fbeb0bf98c932bd5af8a3cffa8ab64 (patch) | |
tree | ed3dae8894591be12287b3cce3ff5b4cc6d1ce0e /tests/functional/BasicTest.php | |
parent | cd0a39ea4cb7137aef5b225bdc4472d207a48e62 (diff) | |
parent | 98986ce066764158c045c3e23b69e98183b94236 (diff) |
Merge branch 'js-objects' into weblate-integration
Diffstat (limited to 'tests/functional/BasicTest.php')
-rw-r--r-- | tests/functional/BasicTest.php | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/tests/functional/BasicTest.php b/tests/functional/BasicTest.php deleted file mode 100644 index dc44a67e1..000000000 --- a/tests/functional/BasicTest.php +++ /dev/null @@ -1,46 +0,0 @@ -<?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(5000); - } - - 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(); - } - - public function testBasicDialogs() { - $this->testLogin(); - - $this->execute(["script" => "quickAddFilter()", "args" => []]); - $this->byCssSelector("#filterEditDlg")->displayed(); - - $this->execute(["script" => "dijit.byId('filterEditDlg').hide();", "args" => []]); - - $this->execute(["script" => "quickAddFeed()", "args" => []]); - $this->byCssSelector("#feedAddDlg")->displayed(); - - $this->execute(["script" => "dijit.byId('feedAddDlg').hide();", "args" => []]); - } - - public function testOpenFeed() { - $this->testLogin(); - - $this->byCssSelector('#dijit__TreeNode_3')->click(); - - $this->byCssSelector('#RROW-1 > .header')->displayed(); - } -} |