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.
roundcubemail/tests/Selenium/Mail/Compose.php

26 lines
806 B
PHTML

<?php
class Selenium_Mail_Compose extends Selenium_Test
{
public function testCompose()
{
$this->go('mail', 'compose');
// check task and action
$env = $this->get_env();
$this->assertEquals('mail', $env['task']);
$this->assertEquals('compose', $env['action']);
$objects = $this->get_objects();
// these objects should be there always
$this->assertContains('qsearchbox', $objects);
$this->assertContains('addressbookslist', $objects);
$this->assertContains('contactslist', $objects);
$this->assertContains('messageform', $objects);
$this->assertContains('attachmentlist', $objects);
$this->assertContains('filedrop', $objects);
$this->assertContains('uploadform', $objects);
}
}