File tree Expand file tree Collapse file tree
test/functional/android/helper Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 - " 3.5"
88 - " 3.6"
99 - " 3.7"
10- - " 3.8-dev"
10+ # - "3.8-dev" # TODO Remove comment-out when pylint and astroid upgraded to the latest and py2 support dropped
1111
1212install :
1313 - pip install tox-travis
Original file line number Diff line number Diff line change @@ -64,6 +64,8 @@ def setUp(self):
6464 self .driver = webdriver .Remote ('http://localhost:4723/wd/hub' , desired_caps )
6565
6666 def tearDown (self ):
67- img_path = os .path .join (os .getcwd (), self ._testMethodName + '.png' )
68- self .driver .get_screenshot_as_file (img_path )
67+ if is_ci ():
68+ # Take the screenshot to investigate when tests failed only on CI
69+ img_path = os .path .join (os .getcwd (), self ._testMethodName + '.png' )
70+ self .driver .get_screenshot_as_file (img_path )
6971 self .driver .quit ()
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ envlist =
66 py35,
77 py36,
88 py37,
9- py38
9+ # py38 # TODO Remove comment-out when pylint and astroid upgraded to the latest and py2 support dropped
1010
1111[testenv]
1212deps =
You can’t perform that action at this time.
0 commit comments