Skip to content

Commit

Permalink
Merge pull request #328 from mozilla/as/clean-action-copy-table-hyper…
Browse files Browse the repository at this point in the history
…link

Anca/ Fix cleanup action for Copy table with hyperlink test
  • Loading branch information
soncuteanca authored Nov 14, 2024
2 parents 72f7754 + 93930b7 commit bb73afa
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/drag_and_drop/test_copy_hyperlink_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ def test_copy_table_with_hyperlink(driver: Firefox, temp_selectors):
driver.switch_to.window(driver.window_handles[0])

finally:
# Undo the paste operation
# Undo the paste operation; ESC key is pressed twice to exit cell focus and clear the hover state on the link
web_page.perform_key_combo(Keys.ESCAPE)
web_page.perform_key_combo(Keys.ESCAPE)
web_page.perform_key_combo(Keys.UP)
web_page.undo()
sleep(2)

0 comments on commit bb73afa

Please sign in to comment.