Skip to content

Commit 2810360

Browse files
committed
Update an example script
1 parent fd0b589 commit 2810360

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

examples/hack_the_planet.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,11 @@ def test_all_your_base_are_belong_to_us(self):
111111
self.set_text_content('%s(5)' % yt_chip, "BELONG")
112112
self.set_text_content('%s(6)' % yt_chip, "TO")
113113
self.set_text_content('%s(7)' % yt_chip, "US")
114-
self.set_text_content('%s(8)' % yt_chip, "")
115-
self.set_text_content('%s(9)' % yt_chip, "")
114+
self.set_text_content('%s(8)' % yt_chip, "!")
115+
self.set_text_content('%s(9)' % yt_chip, "!")
116+
self.set_text_content('%s(10)' % yt_chip, "!")
117+
self.click_if_visible("#dismiss-button")
118+
self.click_if_visible('button[aria-label="Close"]')
116119
self.highlight("#scroll-container", loops=5, scroll=False)
117120
self.highlight('%s(1)' % yt_chip, loops=1, scroll=False)
118121
self.highlight('%s(2)' % yt_chip, loops=1, scroll=False)

0 commit comments

Comments
 (0)