Skip to content

Commit 7e6c486

Browse files
committed
Update an example test
1 parent 5f69a8e commit 7e6c486

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

examples/test_shadow_dom.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ def test_shadow_dom(self):
5959
self.assert_text(file_name_2, file_link)
6060
print(" Download 2: %s" % self.get_text(file_link))
6161
self.click(clear_search_icon)
62-
self.click(remove_button)
63-
self.click(remove_button)
64-
self.assert_text("Files you download appear here", no_downloads_area)
62+
self.type(search_input, "fake-file.zzz")
63+
self.assert_text("No search results found", no_downloads_area)
64+
self.click(clear_search_icon)
65+
self.assert_element(remove_button)

0 commit comments

Comments
 (0)