Skip to content

Commit 7e358d7

Browse files
committed
Update an example test
1 parent 5ecfb28 commit 7e358d7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

examples/test_double_click.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
from seleniumbase import BaseCase
22

33

4-
class MyTestClass(BaseCase):
4+
class DoubleClickTestClass(BaseCase):
55

6-
def test_double_click_and_switch_to_frame(self):
6+
def test_switch_to_frame_and_double_click(self):
77
self.open("https://www.w3schools.com/jsref"
88
"/tryit.asp?filename=tryjsref_ondblclick")
99
self.ad_block()
10-
self.switch_to_frame("#iframeResult")
10+
self.switch_to_frame("iframe#iframeResult")
1111
self.double_click('[ondblclick="myFunction()"]')
1212
self.assert_text("Hello World", "#demo")
1313

14-
def test_double_click_and_switch_to_frame_of_element(self):
14+
def test_switch_to_frame_of_element_and_double_click(self):
1515
self.open("https://www.w3schools.com/jsref"
1616
"/tryit.asp?filename=tryjsref_ondblclick")
1717
self.ad_block()

0 commit comments

Comments
 (0)