Aleksander Machniak
2016-01-16 ed1d212ae2daea5e4bd043417610177093e99f19
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php
 
class Selenium_Addressbook_Import extends Selenium_Test
{
    public function testImport()
    {
        $this->go('addressbook', 'import');
 
        // check task and action
        $env = $this->get_env();
        $this->assertEquals('addressbook', $env['task']);
        $this->assertEquals('import', $env['action']);
 
        $objects = $this->get_objects();
 
        // these objects should be there always
        $this->assertContains('importform', $objects);
    }
 
    public function testImport2()
    {
        $this->go('addressbook', 'import');
 
        $objects = $this->get_objects();
 
        // these objects should be there always
        $this->assertContains('importform', $objects);
    }
}