e2e: more logging

This commit is contained in:
Churikova Tetiana 2022-07-12 17:14:32 +02:00
parent 12ba82844a
commit 96b170a19d
No known key found for this signature in database
GPG Key ID: 0D4EA7B33B47E6D8
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,6 @@
[pytest] [pytest]
norecursedirs = .git views norecursedirs = .git views
addopts = -s -v --tb=line --junitxml=result.xml --dist loadgroup -n 5 addopts = -s -v --tb=short --junitxml=result.xml --dist loadgroup -n 5
junit_family=legacy junit_family=legacy
markers = markers =
critical: TCs by priority critical: TCs by priority

View File

@ -342,6 +342,7 @@ class BaseView(object):
def just_fyi(self, some_str): def just_fyi(self, some_str):
self.driver.info('# STEP: %s' % some_str, device=False) self.driver.info('# STEP: %s' % some_str, device=False)
self.driver.execute_script("sauce:context=STEP: %s" % some_str)
def click_system_back_button(self, times=1): def click_system_back_button(self, times=1):
self.driver.info('Click system back button') self.driver.info('Click system back button')