Closed
Bug 1111503
Opened 10 years ago
Closed 10 years ago
[B2G] run gaia-ui-tests on emulator (locally)
Categories
(Firefox OS Graveyard :: Emulator, defect)
Tracking
(tracking-b2g:+)
RESOLVED
WORKSFORME
tracking-b2g | + |
People
(Reporter: hsinyi, Unassigned)
References
Details
(Keywords: dev-doc-complete)
Considering the current emulator capability, it is good to take advantage of the emulator to provide better development experience to gaia developers so that they can write tests for telephony network features more easily.
To achieve the goal, we need to make gaia-ui-tests run on emulator.
Updated•10 years ago
|
tracking-b2g:
--- → +
Comment 1•10 years ago
|
||
What needs to be changed for gaia-ui-tests to make them run on emulator?
Reporter | ||
Comment 2•10 years ago
|
||
(In reply to Martijn Wargers [:mwargers] (QA) from comment #1)
> What needs to be changed for gaia-ui-tests to make them run on emulator?
I guess very likely no changes needed or very few, but I don't have a solid answer yet.
Gabriele, do you have more to share here? Thank you.
Reporter | ||
Updated•10 years ago
|
Comment 3•10 years ago
|
||
And marionette-js tests as well ;)
Reporter | ||
Comment 4•10 years ago
|
||
Great news: just saw a live demo. gaia-ui-tests work really good on emulator-kk, except the bad performance which is however tracked in another bug!
Waiting for further test results on marionette-js :)
Reporter | ||
Updated•10 years ago
|
Summary: [B2G] run gaia-ui-tests on emulator → [B2G] run gaia-ui-tests on emulator (locally)
Reporter | ||
Comment 5•10 years ago
|
||
(In reply to Hsin-Yi Tsai [:hsinyi] from comment #4)
> Great news: just saw a live demo. gaia-ui-tests work really good on
> emulator-kk, except the bad performance which is however tracked in another
> bug!
>
> Waiting for further test results on marionette-js :)
Just talked to Al. There's still some work to do for marionette-js. We will evaluate the feature when marionette-js is done. File a bug tracking this issue.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
Comment 6•10 years ago
|
||
(In reply to Hsin-Yi Tsai [:hsinyi] from comment #5)
> (In reply to Hsin-Yi Tsai [:hsinyi] from comment #4)
> > Great news: just saw a live demo. gaia-ui-tests work really good on
> > emulator-kk, except the bad performance which is however tracked in another
> > bug!
So you mean this is working on emulator, right?
Could we get some documentation on how to run this on emulator, perhaps? https://developer.mozilla.org/en-US/Firefox_OS/Platform/Automated_testing/gaia-ui-tests/Gaia_UI_Tests_Run_Tests
Also, wouldn't it be good to get these gaia-ui tests running on b2g emulator on Treeherder?
Flags: needinfo?(htsai)
Keywords: dev-doc-needed
Comment 7•10 years ago
|
||
(In reply to Martijn Wargers [:mwargers] (QA) from comment #6)
> Also, wouldn't it be good to get these gaia-ui tests running on b2g emulator
> on Treeherder?
Chatted with jgriffin on irc, he said that it is simply that no-one spent the time to green up the tests on that platform.
Reporter | ||
Comment 8•10 years ago
|
||
(In reply to Martijn Wargers [:mwargers] (QA) from comment #6)
> (In reply to Hsin-Yi Tsai [:hsinyi] from comment #5)
> > (In reply to Hsin-Yi Tsai [:hsinyi] from comment #4)
> > > Great news: just saw a live demo. gaia-ui-tests work really good on
> > > emulator-kk, except the bad performance which is however tracked in another
> > > bug!
>
> So you mean this is working on emulator, right?
> Could we get some documentation on how to run this on emulator, perhaps?
> https://developer.mozilla.org/en-US/Firefox_OS/Platform/Automated_testing/
> gaia-ui-tests/Gaia_UI_Tests_Run_Tests
>
Hi Al,
I believe the steps to run the tests on emulator are the same as those on real devices. Could you kindly confirm? Thank you!
> Also, wouldn't it be good to get these gaia-ui tests running on b2g emulator
> on Treeherder?
Agree, it would be good to enable those tests on treeherder eventually. And the issue is tracked in bug 987045. We need to find someone to help this but I have no idea who is available to help this at the moment.
Flags: needinfo?(htsai) → needinfo?(atsai)
Comment 10•10 years ago
|
||
(In reply to Al Tsai [:atsai] from comment #9)
> Yes. This is the same work as the steps on MDN.
Does this mean there's no work needed on MDN to cover this? If not, is anyone able to write down for me what needs to be added to MDN to cover how to do this testing in the emulator?
Flags: needinfo?(atsai)
Comment 11•10 years ago
|
||
I believe there should be no extra work for MDN. The steps are exactly the same as a physical device. However, I'd like to have some contents mentioned the steps work for emulators as well. I'll add a prototype for the MDN document and I'd like to have your review. :D
Flags: needinfo?(atsai)
Comment 12•10 years ago
|
||
https://developer.mozilla.org/en-US/Firefox_OS/Platform/Automated_testing/gaia-ui-tests/Gaia_UI_Tests_Run_Tests
Add some simple texts like "if you are using a emulator... " in Testing on Firefox OS Devices section. Please have someone review it for me and clean the "need review tag". Thanks in advance. :)
Flags: needinfo?(eshepherd)
Comment 13•10 years ago
|
||
Thanks that you're going to do this Al. Such simple info (run gaia-ui tests on emulator is just like on device) can make a huge difference, even though it might seem obvious.
Comment 14•10 years ago
|
||
Is anyone able to review the article's accuracy?
Flags: needinfo?(eshepherd)
Comment 15•10 years ago
|
||
I have done a copy edit pass on the page and tidied things up a bit. Calling this document update complete; if it's not, please reset to dev-doc-needed with an explanation.
Keywords: dev-doc-needed → dev-doc-complete
You need to log in
before you can comment on or make changes to this bug.
Description
•