From b37954110d2184279a7f400d8750996a27b8f666 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Wed, 5 Feb 2014 20:18:51 +0100 Subject: Bring back unit tests (they should be removed when creating a package) --- tests/Selenium/Addressbook/Addressbook.php | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 tests/Selenium/Addressbook/Addressbook.php (limited to 'tests/Selenium/Addressbook/Addressbook.php') diff --git a/tests/Selenium/Addressbook/Addressbook.php b/tests/Selenium/Addressbook/Addressbook.php new file mode 100644 index 000000000..9a22b6e13 --- /dev/null +++ b/tests/Selenium/Addressbook/Addressbook.php @@ -0,0 +1,21 @@ +go('addressbook'); + + // check task + $env = $this->get_env(); + $this->assertEquals('addressbook', $env['task']); + + $objects = $this->get_objects(); + + // these objects should be there always + $this->assertContains('qsearchbox', $objects); + $this->assertContains('folderlist', $objects); + $this->assertContains('contactslist', $objects); + $this->assertContains('countdisplay', $objects); + } +} -- cgit v1.2.3