Skip to content

Commit

Permalink
take ss on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
saw-jan committed Jan 8, 2025
1 parent 6d0aea1 commit 1db3294
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/gui/shared/scripts/helpers/SetupClientHelper.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from helpers.SyncHelper import listen_sync_status_for_item
from helpers.api.utils import url_join
from helpers.UserHelper import get_displayname_for_user
from helpers.ReportHelper import is_video_enabled
from helpers.ReportHelper import is_video_enabled, take_screenshot


def substitute_inline_codes(value):
Expand Down Expand Up @@ -254,6 +254,8 @@ def unlock_keyring():
test.log(f'Keyring status: {output}')
if not output.strip().endswith('false'):
test.log('Unlocking keyring...')
start_client()
take_screenshot('keyring_locked.png')
test.fail('debug')
password = os.getenv('VNC_PW')
command = f'echo -n "{password}" | gnome-keyring-daemon -r -d --unlock'
Expand Down

0 comments on commit 1db3294

Please sign in to comment.