File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ class GoogleTests(BaseCase):
8
8
def test_google_dot_com (self ):
9
9
self .open ("https://google.com/ncr" )
10
10
self .sleep (0.1 )
11
+ self .hide_elements ('iframe[name="callout"]' )
11
12
self .save_screenshot_to_logs () # ("./latest_logs" folder)
12
13
self .type (HomePage .search_box , "github.com" )
13
14
self .assert_element (HomePage .search_button )
Original file line number Diff line number Diff line change @@ -22,6 +22,9 @@ def test_download_chromedriver_notes(self):
22
22
23
23
def test_download_files_from_pypi (self ):
24
24
self .open ("https://pypi.org/project/sbvirtualdisplay/#files" )
25
+ self .assert_element ('[data-clipboard-target="#pip-command"]' )
26
+ self .assert_text ("Download files" , "div#files h2.page-title" )
27
+ self .assert_text ("Download files" , "a#files-tab" )
25
28
pkg_header = self .get_text ("h1.package-header__name" ).strip ()
26
29
pkg_name = pkg_header .replace (" " , "-" )
27
30
whl_file = pkg_name + "-py2.py3-none-any.whl"
You can’t perform that action at this time.
0 commit comments