diff options
Diffstat (limited to 'tests/FunctionalTests/issues')
3 files changed, 4 insertions, 3 deletions
diff --git a/tests/FunctionalTests/issues/tests/Issue504TestCase.php b/tests/FunctionalTests/issues/tests/Issue504TestCase.php index dff27339..ce3e346e 100755 --- a/tests/FunctionalTests/issues/tests/Issue504TestCase.php +++ b/tests/FunctionalTests/issues/tests/Issue504TestCase.php @@ -5,11 +5,12 @@ class Issue504TestCase extends PradoGenericSelenium2Test function test() { $this->url('issues/index.php?page=Issue504'); - $this->assertContains('Issue 504 Test', $this->source()); + $this->assertSourceContains('Issue 504 Test'); $base='ctl0_Content_'; $this->byID("{$base}textbox1")->click(); $this->keys(PHPUnit_Extensions_Selenium2TestCase_Keys::ENTER); + $this->pause(50); $this->assertText("{$base}label1", "buttonOkClick"); } diff --git a/tests/FunctionalTests/issues/tests/Issue516TestCase.php b/tests/FunctionalTests/issues/tests/Issue516TestCase.php index 363e9f84..2b221081 100644 --- a/tests/FunctionalTests/issues/tests/Issue516TestCase.php +++ b/tests/FunctionalTests/issues/tests/Issue516TestCase.php @@ -5,7 +5,7 @@ class Issue516TestCase extends PradoGenericSelenium2Test function test() { $this->url('issues/index.php?page=Issue516'); - $this->assertContains('Issue 516 Test', $this->source()); + $this->assertSourceContains('Issue 516 Test'); $base='ctl0_Content_'; $row1='DataGrid_ctl1_'; $row2='DataGrid_ctl2_'; diff --git a/tests/FunctionalTests/issues/tests/Issue524TestCase.php b/tests/FunctionalTests/issues/tests/Issue524TestCase.php index b7b022b2..7b3bb2aa 100755 --- a/tests/FunctionalTests/issues/tests/Issue524TestCase.php +++ b/tests/FunctionalTests/issues/tests/Issue524TestCase.php @@ -10,7 +10,7 @@ class Issue524TestCase extends PradoGenericSelenium2Test function test() { $this->url('issues/index.php?page=Issue524'); - $this->assertContains('Issue 524 Test', $this->source()); + $this->assertSourceContains('Issue 524 Test'); $base='ctl0_Content_'; $this->byID("{$base}buttonOk")->click(); |