summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/quickstart/Advanced
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/Advanced
parent1feb1e95660fdfeb5b6d9e12c6fe085aa2bec5ad (diff)
Fix tests
work around stale references by explicitly waiting
Diffstat (limited to 'tests/FunctionalTests/quickstart/Advanced')
-rwxr-xr-xtests/FunctionalTests/quickstart/Advanced/I18N.php48
1 files changed, 24 insertions, 24 deletions
diff --git a/tests/FunctionalTests/quickstart/Advanced/I18N.php b/tests/FunctionalTests/quickstart/Advanced/I18N.php
index ccb8c961..6d979268 100755
--- a/tests/FunctionalTests/quickstart/Advanced/I18N.php
+++ b/tests/FunctionalTests/quickstart/Advanced/I18N.php
@@ -6,47 +6,47 @@ class QuickstartI18NTestCase extends PradoGenericSelenium2Test
function test ()
{
$this->url("../../demos/quickstart/index.php?notheme=true&page=Advanced.Samples.I18N.Home&amp;lang=en&amp;notheme=true");
- $this->assertContains("Internationlization in PRADO", $this->source());
+ $this->assertSourceContains("Internationlization in PRADO");
$this->assertContains("46.412,42 €", $this->source());
- $this->assertContains("$12.40", $this->source());
- $this->assertContains("€100.00", $this->source());
+ $this->assertSourceContains("$12.40");
+ $this->assertSourceContains("€100.00");
$this->assertContains("December 6, 2004", $this->source());
$this->url("../../demos/quickstart/index.php?page=Advanced.Samples.I18N.Home&amp;lang=zh&amp;notheme=true");
- $this->assertContains("PRADO 国际化", $this->source());
- $this->assertContains("2004 十二月", $this->source());
- $this->assertContains("US$ 12.40", $this->source());
+ $this->assertSourceContains("PRADO 国际化");
+ $this->assertSourceContains("2004 十二月");
+ $this->assertSourceContains("US$ 12.40");
$this->assertContains("46.412,42 €", $this->source());
- $this->assertContains("€100.00 ", $this->source());
+ $this->assertSourceContains("€100.00 ");
$this->url("../../demos/quickstart/index.php?page=Advanced.Samples.I18N.Home&amp;lang=zh_TW&amp;notheme=true");
- $this->assertContains("PRADO 國際化", $this->source());
- $this->assertContains("2004年12月6日", $this->source());
- $this->assertContains("US$12.40", $this->source());
+ $this->assertSourceContains("PRADO 國際化");
+ $this->assertSourceContains("2004年12月6日");
+ $this->assertSourceContains("US$12.40");
$this->assertContains("46.412,42 €", $this->source());
- $this->assertContains("€100.00", $this->source());
+ $this->assertSourceContains("€100.00");
$this->url("../../demos/quickstart/index.php?page=Advanced.Samples.I18N.Home&amp;lang=de&amp;notheme=true");
- $this->assertContains("Internationalisierung in PRADO", $this->source());
- $this->assertContains("6. Dezember 2004 ", $this->source());
+ $this->assertSourceContains("Internationalisierung in PRADO");
+ $this->assertSourceContains("6. Dezember 2004 ");
$this->assertContains("$ 12,40", $this->source());
$this->assertContains("46.412,42 €", $this->source());
- $this->assertContains("€100.00", $this->source());
+ $this->assertSourceContains("€100.00");
$this->url("../../demos/quickstart/index.php?page=Advanced.Samples.I18N.Home&amp;lang=es&amp;notheme=true");
- $this->assertContains("Internationlization en PRADO", $this->source());
- $this->assertContains("6 de diciembre de 2004", $this->source());
- $this->assertContains("US$12.40", $this->source());
+ $this->assertSourceContains("Internationlization en PRADO");
+ $this->assertSourceContains("6 de diciembre de 2004");
+ $this->assertSourceContains("US$12.40");
$this->assertContains("46.412,42 €", $this->source());
- $this->assertContains("€100.00", $this->source());
+ $this->assertSourceContains("€100.00");
$this->url("../../demos/quickstart/index.php?page=Advanced.Samples.I18N.Home&amp;lang=fr&amp;notheme=true");
- $this->assertContains("Internationalisation avec PRADO", $this->source());
- $this->assertContains("6 décembre 2004", $this->source());
+ $this->assertSourceContains("Internationalisation avec PRADO");
+ $this->assertSourceContains("6 décembre 2004");
$this->assertContains("12,40 $", $this->source());
$this->assertContains("46.412,42 €", $this->source());
- $this->assertContains("€100.00", $this->source());
+ $this->assertSourceContains("€100.00");
$this->url("../../demos/quickstart/index.php?page=Advanced.Samples.I18N.Home&amp;lang=pl&amp;notheme=true");
- $this->assertContains("Internacjonalizacja w PRADO", $this->source());
- $this->assertContains("6 grudnia 2004", $this->source());
+ $this->assertSourceContains("Internacjonalizacja w PRADO");
+ $this->assertSourceContains("6 grudnia 2004");
$this->assertContains("US$ 12,40", $this->source());
$this->assertContains("46.412,42 €", $this->source());
- $this->assertContains("€100.00", $this->source());
+ $this->assertSourceContains("€100.00");
}
}