Closed Bug 946130 Opened 12 years ago Closed 12 years ago

Flick and other actions not working on System app

Categories

(Remote Protocol :: Marionette, defect, P1)

ARM
Gonk (Firefox OS)
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: viorela, Unassigned)

References

Details

(Keywords: pi-marionette-goal, pi-marionette-userinput, regression, Whiteboard: [xfail][u=marionette-user c=marionette-server p=3][touch])

Attachments

(1 file)

Attached file test_case.txt —
Please run the test in the attachment. The test will return a pass. But if you watch the phone while running the test, you can see that it doesn't flick on the elements given as arguments. I need to make this flick work in order to update the locators in test_clock_set_alarm_time.py, according to Bug 944436
Mdas, we are trying to upgrade a different test to perform more user-like interactions and I think we are hitting this aswell. This case and Viorela's both share the problem of flick/move Actions not working on the System app. As this is blocking two test cases now can we look at it with a higher priority?
Flags: needinfo?(mdas)
Severity: normal → major
Flags: needinfo?(mdas)
This is now blocking test coverage.
Whiteboard: [xfail]
Summary: Flick not working on select time - hour 24 picker → Flick and other actions not working on System app
Blocks: 944436
Keywords: regression
It's possible this is related to or exacerbated by bug 958036. Could you try disabling APZ (hold power button) and running the test without restarting the device? The APZ change to enable by default landed after this bug was raised, so there's a possibility there's more than one issue here.
Whiteboard: [xfail] → [xfail][u=marionette-user c=marionette-server p=3]
Blocks: 968741
No longer blocks: 968741
Whiteboard: [xfail][u=marionette-user c=marionette-server p=3] → [xfail][u=marionette-user c=marionette-server p=3][touch]
Priority: -- → P2
Priority: P2 → P1
This is due to a Gaia issue; the selector code is not following our touch/mouse event standard. It expects mouse events when it should be expecting touch events. I've filed Bug 1004714 about this.
Depends on: 1004714
This should work now. I tested the gaia patch locally and the am/pm toggle moves now. Viorela, can you confirm? It should be in today's build, or worst case, you can do 'make install-gaia' with the latest gaia master. You'll also need to update the test a bit since gaia has changed. You'll need to make this change in gaia-ui-tests/gaiatest/apps/contacts/regions/gmail.py: - _gmail_sign_in_frame_locator = (By.CSS_SELECTOR, '#frame-container > iframe[data-url*="google"]') + _gmail_sign_in_frame_locator = (By.CSS_SELECTOR, 'iframe[data-url*="google"]')
Flags: needinfo?(viorela.ioia)
(In reply to Malini Das [:mdas] from comment #6) > You'll also need to update the test a bit since gaia has changed. You'll > need to make this change in > gaia-ui-tests/gaiatest/apps/contacts/regions/gmail.py: > > - _gmail_sign_in_frame_locator = (By.CSS_SELECTOR, '#frame-container > > iframe[data-url*="google"]') > + _gmail_sign_in_frame_locator = (By.CSS_SELECTOR, > 'iframe[data-url*="google"]') oops, nevermind this! This is for a different test. I don't think this one needs any changes
Flags: needinfo?(viorela.ioia)
Malini, I did a check and I confirm that flick() and other actions are working as expected. I did the check on today's build: Gaia 4f352142a54f7f7ae2c460aad9049eda4b0edb14 Gecko https://hg.mozilla.org/mozilla-central/rev/9ac3e2dd0898 BuildID 20140508160203 Version 32.0a1 ro.build.version.incremental=eng.tclxa.20131223.163538 ro.build.date=Mon Dec 23 16:36:04 CST 2013
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: