Closed
Bug 816057
Opened 13 years ago
Closed 13 years ago
[B2G] Marionette does not click on button element properly
Categories
(Remote Protocol :: Marionette, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: zcampbell, Unassigned)
References
Details
In the Contacts app, clicking the 'send sms' button should swithc to the communications app with SMS ready to send.
Marionette does not click the button properly so the app switching never occurs.
This test works fine manually.
--- Test case ----
# PREREQ : Create a contact with phone number
self.apps.launch('Contacts')
time.sleep(10)
self.marionette.find_element('css selector', 'li.contact-item a').click()
self.wait_for_element_displayed('id', 'send-sms-button-0')
self.marionette.find_element('id', 'send-sms-button-0').click()
# Expected: B2G should switch to
# Actual: B2G stays in the contacts app, the send-sms-button highlighted blue
Comment 1•13 years ago
|
||
Zac, is this blocking finishing off a test?
| Reporter | ||
Comment 2•13 years ago
|
||
The test was already finished and working but something changed in Marionette's ability to handle this action. Now we have lost the test coverage.
Comment 3•13 years ago
|
||
It appears that this test is passing at least for me. Please confirm and update the bug status.
Flags: needinfo?(zcampbell)
| Reporter | ||
Comment 4•13 years ago
|
||
Resolved by switching to tap()
Status: NEW → RESOLVED
Closed: 13 years ago
Flags: needinfo?(zcampbell)
Resolution: --- → INVALID
Updated•2 years ago
|
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•