blob: 13d81740f5e85ae9f0aa3ab34ec8f2b2e4194211 (
plain)
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);
}
}
|