summaryrefslogtreecommitdiff
path: root/tests/Selenium/Addressbook/Addressbook.php
blob: 9a22b6e1365f622868ca904564fd44450fb3f22e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php

class Selenium_Addressbook_Addressbook extends Selenium_Test
{
    public function testAddressbook()
    {
        $this->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);
    }
}