summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/tests/Ticket538TestCase.php
blob: 16b0f863436bf4590b422433a56d9edecbc85f84 (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
<?php

class Ticket538TestCase extends PradoGenericSeleniumTest
{
	function test()
	{
		$base="ctl0_Content_";
		$this->open('tickets/index.php?page=Ticket538');
		$this->verifyTitle("Verifying Ticket 538", "");

		$this->assertText("{$base}ALLog", 'waiting for response...');

		$this->select("{$base}DataViewer", "empty :(");
		$this->click("{$base}selectBtn");
		$this->pause(800);

		$this->assertText("{$base}ALLog", '0,');

		$this->select("{$base}DataSelector", "select data set 2");
		$this->pause(800);
		$this->select("{$base}DataViewer", "G1: Steven=>10");
		$this->addSelection("{$base}DataViewer", "G2: Kevin=>65");

		$this->click("{$base}selectBtn");
		$this->pause(800);
		$this->assertText("{$base}ALLog", '4- "test1", 10- "test2",');
	}
}