зеркало из https://github.com/mozilla/eideticker.git
Bug 895953 - Add a test for call log scrolling
This commit is contained in:
Родитель
ea96f3baaa
Коммит
f064e5671f
|
@ -460,12 +460,21 @@ class B2GAppActionTest(B2GTest):
|
|||
self.appname = appname
|
||||
# parent class must define self.cmds
|
||||
|
||||
def prepare_app(self):
|
||||
# no action in default implementation
|
||||
pass
|
||||
|
||||
def run(self):
|
||||
apps = GaiaApps(self.device.marionette)
|
||||
|
||||
# launch app and wait for it to "settle" so that it's ready for use
|
||||
app = apps.launch(self.appname)
|
||||
assert app.frame_id is not None
|
||||
time.sleep(5)
|
||||
time.sleep(5) # FIXME: can we do better than a timeout here?
|
||||
|
||||
# prepare the app for the test
|
||||
self.prepare_app()
|
||||
|
||||
self.start_capture()
|
||||
self.test_started()
|
||||
self.log("Running commands")
|
||||
|
|
|
@ -1,3 +1,10 @@
|
|||
[include:contacts.ini]
|
||||
[include:messages.ini]
|
||||
[include:settings.ini]
|
||||
[include:settings.ini]
|
||||
[callog.py]
|
||||
key = b2g-callog-scrolling
|
||||
shortDesc = FirefoxOS Call Log Scrolling Performance
|
||||
defaultMeasure = fps
|
||||
type = b2g
|
||||
appname = Phone
|
||||
scrolldown_amount = 20
|
||||
|
|
Загрузка…
Ссылка в новой задаче