Skip to content

Commit

Permalink
scroll after switching to iframe
Browse files Browse the repository at this point in the history
  • Loading branch information
trollfot committed Dec 15, 2023
1 parent 245ffd2 commit f523c44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deformdemo/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -3400,8 +3400,8 @@ class DelayedRichTextWidgetTests(Base, unittest.TestCase):
def test_submit_filled(self):
findcss(".tinymce-preload").click()
time.sleep(0.5)
ActionChains(browser).scroll_by_amount(0, 200).perform()
browser.switch_to.frame(browser.find_element(By.TAG_NAME, "iframe"))
ActionChains(browser).scroll_by_amount(0, 200).perform()
findid("tinymce").click()
findid("tinymce").send_keys("hello")
browser.switch_to.default_content()
Expand Down

0 comments on commit f523c44

Please sign in to comment.