summaryrefslogtreecommitdiff
path: root/tests/functional/PrefsTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/PrefsTest.php')
-rw-r--r--tests/functional/PrefsTest.php42
1 files changed, 0 insertions, 42 deletions
diff --git a/tests/functional/PrefsTest.php b/tests/functional/PrefsTest.php
deleted file mode 100644
index 4f2dea4b7..000000000
--- a/tests/functional/PrefsTest.php
+++ /dev/null
@@ -1,42 +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('/prefs.php');
-
- $this->byName("login")->value('admin');
- $this->byName("password")->value('password');
- $this->byCssSelector('#dijit_form_Button_0_label')->click();
-
- $this->byCssSelector('#ttrssPrefs')->displayed();
- }
-
- public function testTabs() {
-
- $this->byCssSelector("#dijit_layout_AccordionPane_1_wrapper")->displayed();
-
- /* feeds */
- $this->execute(["script" => "selectTab('feedConfig');", "args" => []]);
- $this->byCssSelector("div.dijitTreeContainer > div.dijitTreeNode")->displayed();
-
- /* filters */
- $this->execute(["script" => "selectTab('filterConfig');", "args" => []]);
- $this->byCssSelector("div.dijitTreeContainer > div.dijitTreeNode")->displayed();
-
- /* filters */
- $this->execute(["script" => "selectTab('labelConfig');", "args" => []]);
- $this->byCssSelector("div.dijitTreeContainer > div.dijitTreeNode")->displayed();
-
- }
-}