self._event(FunctionalTest.evt_time, 'mouseclick', [(1340, 740), 'left']) # play
self._screenshot(16 + FunctionalTest.screenshot_time, 'win_domino_box_basketball')
self._enforce_res(FunctionalTest.evt_time, '')
- # self._event(FunctionalTest.evt_time, 'mouseclick', [(735, 450), 'left']) # next
- # self._screenshot(FunctionalTest.screenshot_time, 'scene_teeter_tooter')
- # # scene 6
- # self._event(FunctionalTest.evt_time, 'mouseclick', [(820, 455), 'left']) # close instructions
- # self._event(FunctionalTest.drag_time, 'mousedrag', [(60, 60), (490, 300), 'left']) # drag a box
- # self._event(FunctionalTest.evt_time, 'mouseclick', [(1260, 695), 'left']) # play
- # self._screenshot(16 + FunctionalTest.screenshot_time, 'fail_teeter_tooter')
- # self._event(FunctionalTest.evt_time, 'mouseclick', [(640, 420), 'left']) # replay
- # self._event(FunctionalTest.drag_time, 'mousedrag', [(60, 60), (490, 150), 'left']) # drag a box
- # self._event(FunctionalTest.drag_time, 'mousedrag', [(515, 115), (515, 122), 'right']) # rotate a box
- # self._event(FunctionalTest.evt_time, 'mouseclick', [(1260, 695), 'left']) # play
- # self._screenshot(16 + FunctionalTest.screenshot_time, 'win_teeter_tooter')
- # self._event(FunctionalTest.evt_time, 'mouseclick', [(690, 420), 'left']) # next
- # self._screenshot(FunctionalTest.screenshot_time, 'scene_teeter_domino_box_basketball')
- # # scene 7
- # self._event(FunctionalTest.evt_time, 'mouseclick', [(880, 455), 'left']) # close instructions
- # self._event(FunctionalTest.drag_time, 'mousedrag', [(60, 60), (155, 180), 'left']) # drag a box
- # self._event(FunctionalTest.evt_time, 'mouseclick', [(1260, 695), 'left']) # play
- # self._screenshot(16 + FunctionalTest.screenshot_time, 'fail_teeter_domino_box_basketball')
- # self._event(FunctionalTest.evt_time, 'mouseclick', [(640, 420), 'left']) # replay
- # self._event(FunctionalTest.drag_time, 'mousedrag', [(60, 60), (170, 80), 'left']) # drag a box
- # self._event(FunctionalTest.drag_time, 'mousedrag', [(195, 50), (195, 80), 'right']) # rotate a box
- # self._event(FunctionalTest.evt_time, 'mouseclick', [(1260, 695), 'left']) # play
- # self._screenshot(16 + FunctionalTest.screenshot_time, 'win_teeter_domino_box_basketball')
+ self._event(FunctionalTest.evt_time, 'mouseclick', [(735, 450), 'left']) # next
+ self._screenshot(FunctionalTest.screenshot_time, 'scene_teeter_tooter')
+ # scene 6
+ self._event(FunctionalTest.evt_time, 'mouseclick', [(870, 485), 'left']) # close instructions
+ self._event(FunctionalTest.drag_time, 'mousedrag', [(60, 60), (490, 300), 'left']) # drag a box
+ self._event(FunctionalTest.evt_time, 'mouseclick', [(1340, 740), 'left']) # play
+ self._screenshot(16 + FunctionalTest.screenshot_time, 'fail_teeter_tooter')
+ self._event(FunctionalTest.evt_time, 'mouseclick', [(680, 450), 'left']) # replay
+ self._event(FunctionalTest.drag_time, 'mousedrag', [(60, 60), (490, 150), 'left']) # drag a box
+ self._event(FunctionalTest.drag_time, 'mousedrag', [(515, 115), (515, 122), 'right']) # rotate a box
+ self._enforce_res(FunctionalTest.evt_time, 'win')
+ self._event(FunctionalTest.evt_time, 'mouseclick', [(1340, 740), 'left']) # play
+ self._screenshot(16 + FunctionalTest.screenshot_time, 'win_teeter_tooter')
+ self._enforce_res(FunctionalTest.evt_time, '')
+ self._event(FunctionalTest.evt_time, 'mouseclick', [(735, 450), 'left']) # next
+ self._screenshot(FunctionalTest.screenshot_time, 'scene_teeter_domino_box_basketball')
+ # scene 7
+ self._event(FunctionalTest.evt_time, 'mouseclick', [(930, 485), 'left']) # close instructions
+ self._event(FunctionalTest.drag_time, 'mousedrag', [(60, 60), (155, 180), 'left']) # drag a box
+ self._event(FunctionalTest.evt_time, 'mouseclick', [(1340, 740), 'left']) # play
+ self._screenshot(16 + FunctionalTest.screenshot_time, 'fail_teeter_domino_box_basketball')
+ self._event(FunctionalTest.evt_time, 'mouseclick', [(680, 450), 'left']) # replay
+ self._event(FunctionalTest.drag_time, 'mousedrag', [(60, 60), (170, 80), 'left']) # drag a box
+ self._event(FunctionalTest.drag_time, 'mousedrag', [(195, 50), (195, 80), 'right']) # rotate a box
+ self._enforce_res(FunctionalTest.evt_time, 'win')
+ self._event(FunctionalTest.evt_time, 'mouseclick', [(1340, 740), 'left']) # play
+ self._screenshot(16 + FunctionalTest.screenshot_time, 'win_teeter_domino_box_basketball')
+ self._enforce_res(FunctionalTest.evt_time, '')
self._event(FunctionalTest.evt_time, 'mouseclick', [(630, 450), 'left']) # home
self._screenshot(FunctionalTest.screenshot_time, 'home_from_play')