diff options
author | Andrew Dolgov <[email protected]> | 2017-04-25 18:55:09 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2017-04-25 18:55:09 +0300 |
commit | f78e10d14c2cac5e0940678fbc475886447eef2a (patch) | |
tree | 8f13d6b8c72994d4d65244c49d67c43eccd8f649 /tests/functional | |
parent | b95e694c7f95be3173373b5acb2d210e661faaae (diff) |
test some basic popup dialogs
Diffstat (limited to 'tests/functional')
-rw-r--r-- | tests/functional/basic.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/functional/basic.php b/tests/functional/basic.php index 8f35692d3..58041ac32 100644 --- a/tests/functional/basic.php +++ b/tests/functional/basic.php @@ -22,6 +22,20 @@ class BasicTest extends PHPUnit_Extensions_Selenium2TestCase { $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(); |