summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests')
-rw-r--r--tests/FunctionalTests/features/protected/pages/ActiveControls/Calculator2.page2
-rw-r--r--tests/FunctionalTests/quickstart/Advanced/I18N.php14
-rw-r--r--tests/FunctionalTests/validators/protected/pages/RegularExpressionValidator.page1
-rw-r--r--tests/FunctionalTests/validators/tests/CompareValidatorTestCase.php1
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&amp;lang=en&amp;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&amp;lang=zh&amp;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&amp;lang=zh_TW&amp;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&amp;lang=de&amp;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&amp;lang=es&amp;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&amp;lang=fr&amp;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&amp;lang=pl&amp;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");