diff --git a/examples/test_double_click.py b/examples/test_double_click.py index cace6930..d9ec495d 100755 --- a/examples/test_double_click.py +++ b/examples/test_double_click.py @@ -1,17 +1,17 @@ from seleniumbase import BaseCase -class MyTestClass(BaseCase): +class DoubleClickTestClass(BaseCase): - def test_double_click_and_switch_to_frame(self): + def test_switch_to_frame_and_double_click(self): self.open("https://www.w3schools.com/jsref" "/tryit.asp?filename=tryjsref_ondblclick") self.ad_block() - self.switch_to_frame("#iframeResult") + self.switch_to_frame("iframe#iframeResult") self.double_click('[ondblclick="myFunction()"]') self.assert_text("Hello World", "#demo") - def test_double_click_and_switch_to_frame_of_element(self): + def test_switch_to_frame_of_element_and_double_click(self): self.open("https://www.w3schools.com/jsref" "/tryit.asp?filename=tryjsref_ondblclick") self.ad_block()