Closed Bug 997377 Opened 10 years ago Closed 10 years ago

Cannot Perform a Scroll with make test-perf

Categories

(Testing Graveyard :: JSMarionette, defect, P1)

ARM
Gonk (Firefox OS)
defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: mchang, Assigned: mdas)

References

Details

(Keywords: perf, pi-marionette-userinput, Whiteboard: [c=automation p= s=2014.05.09.t u=] )

Attachments

(1 file)

Attached file overfill_test.js
I cannot scroll content in the settings app in a make test-perf test. This might be related to the make test-perf testing infrastructure, marionnette or the script itself.

Steps to reproduce:
1) Put the attached test case in gaia/apps/settings/test/performance
2) Go to the main gaia directory. Run "RUNS=1 APP=settings make test-perf". Setup instructions on running make test-perf are here - https://developer.mozilla.org/en-US/Firefox_OS/Platform/Automated_testing/Gaia_performance_tests
3) The 2nd launch of the Settings app should show the screen scrolling.
Priority: -- → P1
Depends on: 995989
David or Malini, can you do a quick check to see if this is a Marionette (server) problem?
Flags: needinfo?(mdas)
Flags: needinfo?(dburns)
My gut is that this is fall out from bug 958036
Flags: needinfo?(dburns)
(In reply to Mason Chang [:mchang] from comment #0)
> Created attachment 8407771 [details]
> overfill_test.js
> 
> I cannot scroll content in the settings app in a make test-perf test. This
> might be related to the make test-perf testing infrastructure, marionnette
> or the script itself.
> 
> Steps to reproduce:
> 1) Put the attached test case in gaia/apps/settings/test/performance
> 2) Go to the main gaia directory. Run "RUNS=1 APP=settings make test-perf".
> Setup instructions on running make test-perf are here -
> https://developer.mozilla.org/en-US/Firefox_OS/Platform/Automated_testing/
> Gaia_performance_tests
> 3) The 2nd launch of the Settings app should show the screen scrolling.

The problem is in the test: you have to call size() since in the js-client, it's a function, not a property. IE: 

var width = wifiSubpanel.size['width'];

should be:

var width = wifiSubpanel.size()['width'];

same for height.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Flags: needinfo?(mdas)
Resolution: --- → INVALID
Whiteboard: [c=automation p= s= u=] → [c=automation p= s=2014.05.09.t u=]
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: