Fix scrolling selection tests
This commit is contained in:
parent
42d1a4755a
commit
9a67176719
1 changed files with 4 additions and 4 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in a new issue