Skip to content

Commit

Permalink
Small fix for input test
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Abalov authored and Nick Abalov committed Oct 19, 2015
1 parent 2477870 commit fa2cd73
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Winium/TestApp.Test/py-functional/tests/test_commands.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# coding: utf-8
from time import sleep
import pytest
from selenium.common.exceptions import NoSuchElementException, NoAlertPresentException, WebDriverException
from selenium.webdriver import ActionChains
Expand Down Expand Up @@ -274,6 +275,7 @@ def test_send_keys_to_element(self):
def test_send_keys_to_active_element(self):
element = self.driver.find_element_by_id('MyTextBox')
element.click()
sleep(0.5) # FIXME
ActionChains(self.driver).send_keys(Keys.ENTER).perform()
assert '\r\n' == element.text

Expand Down

0 comments on commit fa2cd73

Please sign in to comment.