diff options
Diffstat (limited to 'tests/FunctionalTests/tickets/tests/Ticket719TestCase.php')
-rwxr-xr-x | tests/FunctionalTests/tickets/tests/Ticket719TestCase.php | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/tests/FunctionalTests/tickets/tests/Ticket719TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket719TestCase.php index e340306a..c71cb0a8 100755 --- a/tests/FunctionalTests/tickets/tests/Ticket719TestCase.php +++ b/tests/FunctionalTests/tickets/tests/Ticket719TestCase.php @@ -14,14 +14,19 @@ class Ticket719TestCase extends PradoGenericSeleniumTest $this->assertVisible("${base}ctl0", 'Required'); $this->assertVisible("${base}ctl1", 'Required'); - $this->keyPress("${base}autocomplete", 'f'); - $this->pause(1000); + $this->type("${base}autocomplete", 'f'); + $this->runScript("Prado.Registry.get('${base}autocomplete').onKeyPress({})"); + $this->pause(500); $this->verifyTextPresent('Finland'); - $this->keyPress("${base}autocomplete", 'r'); - $this->pause(1000); + + $this->type("${base}autocomplete", 'fr'); + $this->runScript("Prado.Registry.get('${base}autocomplete').onKeyPress({})"); + $this->pause(500); $this->verifyTextPresent('French'); - $this->keyPress("${base}autocomplete", 'a'); - $this->pause(1000); + + $this->type("${base}autocomplete", 'fra'); + $this->runScript("Prado.Registry.get('${base}autocomplete').onKeyPress({})"); + $this->pause(500); $this->verifyTextPresent('France'); $this->click("css=#${base}autocomplete_result ul li"); |