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

class Selenium_Mail_Mail extends Selenium_Test
{
    public function testMail()
    {
        $this->go('mail');

        // check task
        $env = $this->get_env();
        $this->assertEquals('mail', $env['task']);

        $objects = $this->get_objects();

        // these objects should be there always
        $this->assertContains('qsearchbox', $objects);
        $this->assertContains('mailboxlist', $objects);
        $this->assertContains('messagelist', $objects);
        $this->assertContains('quotadisplay', $objects);
        $this->assertContains('search_filter', $objects);
        $this->assertContains('countdisplay', $objects);
    }
}