All checks were successful
Validate and publish Kaleido / android (push) Successful in 2m8s
20 lines
1.3 KiB
Python
20 lines
1.3 KiB
Python
"""D-pad checks for the category settings page; dialogs are cancelled without changes."""
|
|
from verify_ui import launch,key,text,focused,focus,snapshot
|
|
from device import screenshot
|
|
|
|
launch();key(22,4);focused('Settings');key(23);focused('Sign in with Plex')
|
|
key(21);focused('Connection');key(20);focused('Playback');key(22);focused('Playback quality')
|
|
key(23);focused('Original quality');key(4);focused('Playback quality')
|
|
key(20);focused('Watched status');key(23);focused('80%');key(4);focused('Watched status')
|
|
print('PASS quality and watched-threshold dialogs cancel back to their controls',flush=True)
|
|
screenshot('settings-playback-current')
|
|
key(21);focused('Playback');key(20);focused('Interface');key(22);focused('Navigation sounds')
|
|
key(21);focused('Interface');key(20);focused('Updates');key(22);focused('Check for updates');key(23)
|
|
text('Kaleido is up to date.');focused('Check for updates')
|
|
screenshot('settings-updates-current')
|
|
key(21);focused('Updates');key(19,3);focused('Connection');key(22);focused('Sign in with Plex')
|
|
key(22)
|
|
if 'Choose server' in focus(snapshot()):key(22)
|
|
focused('Sign out');key(23);focused('Keep watching');key(4);focused('Sign out')
|
|
key(4);focused('Home')
|
|
print('PASS category focus, live update check and safe sign-out cancellation',flush=True)
|