diff options
author | wei <> | 2006-06-12 03:10:47 +0000 |
---|---|---|
committer | wei <> | 2006-06-12 03:10:47 +0000 |
commit | 1c6f1f79d011579a158e87459040075331b636b7 (patch) | |
tree | 75236e04a5e2aaf9685b34ed7bed0f82e591bbb4 /tests/FunctionalTests | |
parent | f30c38fcc9d6cdfa7aafa5078a58645192c11974 (diff) |
Minor updates.
Diffstat (limited to 'tests/FunctionalTests')
4 files changed, 9 insertions, 9 deletions
diff --git a/tests/FunctionalTests/features/protected/pages/ActiveControls/Calculator2.page b/tests/FunctionalTests/features/protected/pages/ActiveControls/Calculator2.page index 9433154e..ca141c60 100644 --- a/tests/FunctionalTests/features/protected/pages/ActiveControls/Calculator2.page +++ b/tests/FunctionalTests/features/protected/pages/ActiveControls/Calculator2.page @@ -36,5 +36,5 @@ return false;
};
</script>
-
+
</com:TContent>
\ No newline at end of file diff --git a/tests/FunctionalTests/quickstart/Advanced/I18N.php b/tests/FunctionalTests/quickstart/Advanced/I18N.php index 6d81d3b1..5b2af8c4 100644 --- a/tests/FunctionalTests/quickstart/Advanced/I18N.php +++ b/tests/FunctionalTests/quickstart/Advanced/I18N.php @@ -6,43 +6,43 @@ class I18NTestCase extends SeleniumTestCase function test ()
{
$this->open("../../demos/quickstart/index.php?notheme=true&page=Advanced.Samples.I18N.Home&lang=en&notheme=true", "");
- $this->verifyTitle("Internationlization in PRADO", "");
+ $this->verifyTextPresent("Internationlization in PRADO", "");
$this->verifyTextPresent("46.412,42 €", "");
$this->verifyTextPresent("$12.40", "");
$this->verifyTextPresent("€100.00", "");
$this->verifyTextPresent("December 6, 2004", "");
$this->open("../../demos/quickstart/index.php?page=Advanced.Samples.I18N.Home&lang=zh&notheme=true", "");
- $this->verifyTitle("PRADO 国际化", "");
+ $this->verifyTextPresent("PRADO 国际化", "");
$this->verifyTextPresent("2004 十二月", "");
$this->verifyTextPresent("US$ 12.40", "");
$this->verifyTextPresent("46.412,42 €", "");
$this->verifyTextPresent("€100.00 ", "");
$this->open("../../demos/quickstart/index.php?page=Advanced.Samples.I18N.Home&lang=zh_TW&notheme=true", "");
- $this->verifyTitle("PRADO 國際化", "");
+ $this->verifyTextPresent("PRADO 國際化", "");
$this->verifyTextPresent("2004年12月6日", "");
$this->verifyTextPresent("US$12.40", "");
$this->verifyTextPresent("46.412,42 €", "");
$this->verifyTextPresent("€100.00", "");
$this->open("../../demos/quickstart/index.php?page=Advanced.Samples.I18N.Home&lang=de&notheme=true", "");
- $this->verifyTitle("Internationalisierung in PRADO", "");
+ $this->verifyTextPresent("Internationalisierung in PRADO", "");
$this->verifyTextPresent("6. Dezember 2004 ", "");
$this->verifyTextPresent("$ 12,40", "");
$this->verifyTextPresent("46.412,42 €", "");
$this->verifyTextPresent("€100.00", "");
$this->open("../../demos/quickstart/index.php?page=Advanced.Samples.I18N.Home&lang=es&notheme=true", "");
- $this->verifyTitle("Internationlization en PRADO", "");
+ $this->verifyTextPresent("Internationlization en PRADO", "");
$this->verifyTextPresent("6 de diciembre de 2004", "");
$this->verifyTextPresent("US$12.40", "");
$this->verifyTextPresent("46.412,42 €", "");
$this->verifyTextPresent("€100.00", "");
$this->open("../../demos/quickstart/index.php?page=Advanced.Samples.I18N.Home&lang=fr&notheme=true", "");
- $this->verifyTitle("Internationalisation dans PRADO", "");
+ $this->verifyTextPresent("Internationalisation avec PRADO", "");
$this->verifyTextPresent("6 décembre 2004", "");
$this->verifyTextPresent("12,40 $", "");
$this->verifyTextPresent("46.412,42 €", "");
$this->verifyTextPresent("€100.00", "");
$this->open("../../demos/quickstart/index.php?page=Advanced.Samples.I18N.Home&lang=pl&notheme=true", "");
- $this->verifyTitle("Internacjonalizacja w PRADO", "");
+ $this->verifyTextPresent("Internacjonalizacja w PRADO", "");
$this->verifyTextPresent("6 grudnia 2004", "");
$this->verifyTextPresent("US$ 12,40", "");
$this->verifyTextPresent("46.412,42 €", "");
diff --git a/tests/FunctionalTests/validators/protected/pages/RegularExpressionValidator.page b/tests/FunctionalTests/validators/protected/pages/RegularExpressionValidator.page index ac24cd0d..cfd7a333 100644 --- a/tests/FunctionalTests/validators/protected/pages/RegularExpressionValidator.page +++ b/tests/FunctionalTests/validators/protected/pages/RegularExpressionValidator.page @@ -14,6 +14,7 @@ ID="validator2"
ControlToValidate="text2"
ErrorMessage="Email Address!"
+ CheckMXRecord="false"
ControlCssClass="required" />
</div>
<com:TButton ID="submit1" Text="Test" />
diff --git a/tests/FunctionalTests/validators/tests/CompareValidatorTestCase.php b/tests/FunctionalTests/validators/tests/CompareValidatorTestCase.php index 5107a89f..b0f7c407 100644 --- a/tests/FunctionalTests/validators/tests/CompareValidatorTestCase.php +++ b/tests/FunctionalTests/validators/tests/CompareValidatorTestCase.php @@ -21,7 +21,6 @@ class CompareValidatorTestCase extends SeleniumTestCase $this->assertVisible("{$base}validator1");
$this->type("{$base}text2", "qwe");
- $this->assertNotVisible("{$base}validator1");
$this->clickAndWait("//input[@type='submit' and @value='Test']", "");
$this->assertNotVisible("{$base}validator1");
$this->assertNotVisible("{$base}validator2");
|