Fix scrolling selection tests

This commit is contained in:
Kovid Goyal 2020-02-25 20:17:49 +05:30
parent 42d1a4755a
commit 9a67176719
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -184,13 +184,13 @@ def scroll(x=0, y=0, up=True):
# scrolling
init()
press(x=1)
scroll(x=1.6)
press(x=1.6)
scroll(x=1)
self.ae(sel(), 'LMNO12')
scroll(x=1)
self.ae(sel(), 'GHIJKLMNO12')
scroll(x=1, up=False)
self.ae(sel(), 'LMNO12')
scroll(x=2, up=False)
self.ae(sel(), '23')
scroll(x=2.6, up=False)
self.ae(sel(), '3')
release()