summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/tests/Ticket698TestCase.php
blob: 5c8c46aa0a85ac0c2453115104d240f1d147f983 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php
class Ticket698TestCase extends PradoGenericSelenium2Test
{
	function test()
	{
		$base = 'ctl0_Content_';
		$this->url('tickets/index.php?page=Ticket698');
		$this->assertEquals($this->title(), "Verifying Ticket 698");

		$this->click($base."switchContentTypeButton");
		$this->pause(800);
		$this->assertVisible($base."EditHtmlTextBox");
		$this->pause(800);
		$this->click($base."switchContentTypeButton");
		$this->pause(1000);
		$this->assertNotVisible($base."EditHtmlTextBox");
	}

}