Skip to content

Commit e6ca858

Browse files
committed
Update an example test
1 parent 302fa40 commit e6ca858

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

examples/hack_the_planet.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -237,12 +237,8 @@ def test_all_your_base_are_belong_to_us(self):
237237
self.highlight("#ctitle", loops=7, scroll=False)
238238

239239
self.open("https://www.nintendo.com/whatsnew/")
240-
self.set_text_content('button[aria-label="Search"]', aybabtu)
241-
self.set_text_content('button[data-section="newsevents"]', aybabtu)
242-
self.set_text_content("h2", aybabtu)
243-
self.highlight('div.search-flex', loops=4, scroll=False)
244-
self.highlight('button[data-section*="news"]', loops=4, scroll=False)
245-
self.highlight("h2", loops=6, scroll=False)
240+
self.set_text_content("h1", aybabtu)
241+
self.highlight("h1", loops=10, scroll=False)
246242

247243
self.open("https://support.gog.com/hc/en-us?product=gog")
248244
self.set_text_content("div.intro-title", aybabtu)

0 commit comments

Comments
 (0)