summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/tests/PostLoadingTestCase.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/active-controls/tests/PostLoadingTestCase.php')
-rwxr-xr-xtests/FunctionalTests/active-controls/tests/PostLoadingTestCase.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/FunctionalTests/active-controls/tests/PostLoadingTestCase.php b/tests/FunctionalTests/active-controls/tests/PostLoadingTestCase.php
index 99f21585..271a2ffb 100755
--- a/tests/FunctionalTests/active-controls/tests/PostLoadingTestCase.php
+++ b/tests/FunctionalTests/active-controls/tests/PostLoadingTestCase.php
@@ -6,16 +6,16 @@ class PostLoadingTestCase extends PradoGenericSelenium2Test
{
$base="ctl0_Content_";
$this->url('active-controls/index.php?page=PostLoadingTest');
- $this->assertTextPresent('PostLoading Test');
+ $this->assertContains('PostLoading Test', $this->source());
- $this->assertTextNotPresent('Hello World');
+ $this->assertNotContains('Hello World', $this->source());
- $this->click('div1');
+ $this->byId('div1')->click();
$this->pause(800);
$this->type("{$base}MyTextBox", 'Hello World');
- $this->click("{$base}MyButton");
+ $this->byId("{$base}MyButton")->click();
$this->pause(800);
- $this->assertTextPresent('Result is Hello World');
+ $this->assertContains('Result is Hello World', $this->source());
}
}