summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/quickstart/Controls/DataList1TestCase.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/DataList1TestCase.php
parent1feb1e95660fdfeb5b6d9e12c6fe085aa2bec5ad (diff)
Fix tests
work around stale references by explicitly waiting
Diffstat (limited to 'tests/FunctionalTests/quickstart/Controls/DataList1TestCase.php')
-rwxr-xr-xtests/FunctionalTests/quickstart/Controls/DataList1TestCase.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/FunctionalTests/quickstart/Controls/DataList1TestCase.php b/tests/FunctionalTests/quickstart/Controls/DataList1TestCase.php
index 436af2ad..10786e7d 100755
--- a/tests/FunctionalTests/quickstart/Controls/DataList1TestCase.php
+++ b/tests/FunctionalTests/quickstart/Controls/DataList1TestCase.php
@@ -7,15 +7,15 @@ class QuickstartDataList1TestCase extends PradoGenericSelenium2Test
$this->url("../../demos/quickstart/index.php?page=Controls.Samples.TDataList.Sample1&amp;notheme=true&amp;lang=en");
// verify if all required texts are present
- $this->assertContains('ITN001', $this->source());
- $this->assertContains('$100', $this->source());
- $this->assertContains('Motherboard', $this->source());
- $this->assertContains('ITN018', $this->source());
- $this->assertContains('Surge protector', $this->source());
- $this->assertContains('45', $this->source());
- $this->assertContains('$15', $this->source());
- $this->assertContains('Total 19 products.', $this->source());
- $this->assertContains('Computer Parts', $this->source());
+ $this->assertSourceContains('ITN001');
+ $this->assertSourceContains('$100');
+ $this->assertSourceContains('Motherboard');
+ $this->assertSourceContains('ITN018');
+ $this->assertSourceContains('Surge protector');
+ $this->assertSourceContains('45');
+ $this->assertSourceContains('$15');
+ $this->assertSourceContains('Total 19 products.');
+ $this->assertSourceContains('Computer Parts');
// verify specific table tags
$this->assertElementPresent("ctl0_body_DataList");