Release Kaleido 0.3.1 fixing episode row focus on reentry
All checks were successful
Validate and publish Kaleido / android (push) Successful in 2m26s
All checks were successful
Validate and publish Kaleido / android (push) Successful in 2m26s
This commit is contained in:
parent
0c62d7414e
commit
7843775064
7 changed files with 34 additions and 8 deletions
19
scripts/verify_episode_row_reentry.py
Normal file
19
scripts/verify_episode_row_reentry.py
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
"""Reproduce only the Continue Watching episode-row reentry focus regression."""
|
||||
from device import screenshot
|
||||
from verify_ui import launch,key,snapshot,focus,focused,labels,wait
|
||||
|
||||
launch();key(20,2)
|
||||
for _ in range(20):
|
||||
if 'Hazbin Hotel' in focus(snapshot()):break
|
||||
key(22)
|
||||
else:raise AssertionError('Hazbin Hotel fixture is missing from Continue Watching')
|
||||
focused('S1 · E7');key(23);focused('Resume from')
|
||||
key(20);focused('7. Hello Rosie!')
|
||||
key(21,7);focused('1. Overture')
|
||||
assert '7. Hello Rosie!' not in labels(snapshot()),'Episode 7 must be offscreen before leaving'
|
||||
key(4);focused('Hazbin Hotel');key(23);focused('Resume from')
|
||||
wait(lambda r:'7. Hello Rosie!' in labels(r),'Reopened row reveals the entry episode')
|
||||
key(20);focused('7. Hello Rosie!')
|
||||
screenshot('episode-row-reentry-031')
|
||||
print('PASS Home → Hazbin S1E7 → episode 1 → Back → reopen → Down focuses episode 7',flush=True)
|
||||
key(4);focused('Hazbin Hotel');key(4);focused('Home')
|
||||
Loading…
Add table
Add a link
Reference in a new issue