You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
585 B
PHTML
22 lines
585 B
PHTML
12 years ago
|
<?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);
|
||
|
}
|
||
|
}
|