summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/quickstart/Controls/LabelTestCase.php
diff options
context:
space:
mode:
authorDavid <ottodavid@gmx.net>2015-08-06 18:12:45 +0200
committerDavid <ottodavid@gmx.net>2015-08-06 18:14:04 +0200
commitbdfd9f07f17de1751a7e4d94940acb426af4be77 (patch)
tree093d0e40504e0ece761733780934e0d6f09888fe /tests/FunctionalTests/quickstart/Controls/LabelTestCase.php
parent1feb1e95660fdfeb5b6d9e12c6fe085aa2bec5ad (diff)
Fix tests
work around stale references by explicitly waiting
Diffstat (limited to 'tests/FunctionalTests/quickstart/Controls/LabelTestCase.php')
-rwxr-xr-xtests/FunctionalTests/quickstart/Controls/LabelTestCase.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/FunctionalTests/quickstart/Controls/LabelTestCase.php b/tests/FunctionalTests/quickstart/Controls/LabelTestCase.php
index a9aa0bbe..f23ba586 100755
--- a/tests/FunctionalTests/quickstart/Controls/LabelTestCase.php
+++ b/tests/FunctionalTests/quickstart/Controls/LabelTestCase.php
@@ -7,10 +7,10 @@ class QuickstartLabelTestCase extends PradoGenericSelenium2Test
{
$this->url("../../demos/quickstart/index.php?page=Controls.Samples.TLabel.Home&amp;notheme=true&amp;lang=en");
$this->assertEquals("PRADO QuickStart Sample", $this->title());
- $this->assertContains("This is a label with customized color and font.", $this->source());
- $this->assertContains("This is a form label associated with the TTextBox control below", $this->source());
- $this->assertContains("This is a label with empty Text property and <b>nonempty body</b>", $this->source());
- $this->assertContains("This is a disabled label", $this->source());
+ $this->assertSourceContains("This is a label with customized color and font.");
+ $this->assertSourceContains("This is a form label associated with the TTextBox control below");
+ $this->assertSourceContains("This is a label with empty Text property and <b>nonempty body</b>");
+ $this->assertSourceContains("This is a disabled label");
$this->assertAttribute("ctl0_body_Label2@disabled","regexp:true|disabled");