Skip to content

Commit

Permalink
Cleaned up linting errors in event_firing_webDriver_tests.py.
Browse files Browse the repository at this point in the history
Removed whitespace and unused var names introduced in previous commit.
  • Loading branch information
Kyle McGonagle authored and AutomatedTester committed Jun 27, 2019
1 parent b8ad456 commit 986b940
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def test_can_use_pointer_input_with_event_firing_webdriver(driver, pages):
ef_driver = EventFiringWebDriver(driver, AbstractEventListener())
pages.load("javascriptPage.html")
to_click = ef_driver.find_element_by_id("clickField")

actions = ActionBuilder(ef_driver)
pointer = actions.pointer_action
pointer.move_to(to_click).click()
Expand All @@ -235,12 +235,12 @@ def test_can_use_pointer_input_with_event_firing_webdriver(driver, pages):
def test_can_use_key_input_with_event_firing_webdriver(driver, pages):
ef_driver = EventFiringWebDriver(driver, AbstractEventListener())
pages.load("javascriptPage.html")
keyUp = ef_driver.find_element_by_id("keyUp").click()
ef_driver.find_element_by_id("keyUp").click()

actions = ActionBuilder(ef_driver)
key = actions.key_action
key.send_keys('Success')
actions.perform()

result = ef_driver.find_element_by_id("result")
assert result.text == 'Success'
assert result.text == 'Success'

0 comments on commit 986b940

Please sign in to comment.