summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/tests/Issue120TestCase.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/tickets/tests/Issue120TestCase.php')
-rwxr-xr-xtests/FunctionalTests/tickets/tests/Issue120TestCase.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/FunctionalTests/tickets/tests/Issue120TestCase.php b/tests/FunctionalTests/tickets/tests/Issue120TestCase.php
index 20a4096b..0c6945ba 100755
--- a/tests/FunctionalTests/tickets/tests/Issue120TestCase.php
+++ b/tests/FunctionalTests/tickets/tests/Issue120TestCase.php
@@ -1,16 +1,16 @@
<?php
-class Issue120TestCase extends PradoGenericSeleniumTest
+class Issue120TestCase extends PradoGenericSelenium2Test
{
function test()
{
- $this->open('tickets/index.php?page=Issue120');
- $this->assertTextPresent('TActiveDropDownList PromptValue Test');
-
+ $this->url('tickets/index.php?page=Issue120');
+ $this->assertContains('TActiveDropDownList PromptValue Test', $this->source());
+
$this->assertSelectedIndex("ctl0_Content_ddl1", 0);
$this->assertSelectedValue("ctl0_Content_ddl1", 'PromptValue');
-
- $this->click("ctl0_Content_btn1");
+
+ $this->byId("ctl0_Content_btn1")->click();
$this->pause(800);
$this->assertSelectedIndex("ctl0_Content_ddl1", 0);