QA/B2G getting started: Difference between revisions

 
(2 intermediate revisions by the same user not shown)
Line 68: Line 68:
* repo: https://github.com/mozilla/gaia-ui-tests/
* repo: https://github.com/mozilla/gaia-ui-tests/
* Pro Tip: when you run marionette on the device and you want to dump all the HTML out, use this: print marionette.page_source
* Pro Tip: when you run marionette on the device and you want to dump all the HTML out, use this: print marionette.page_source
* helpful: https://blog.mozilla.org/webqa/2013/02/13/part-2-ui-testing-on-firefox-os-working-with-iframes/


==Marketplace==
==Marketplace==
if anyone wants to test the marketplace interaction:
if anyone wants to test the marketplace interaction:
# on b2g goto:
# on b2g goto:
* http://people.mozilla.org/~cwiemeersch/mktdev.html
## http://people.mozilla.org/~cwiemeersch/mktdev.html
* short for phones: goo.gl/B6wKo
## short for phones: goo.gl/B6wKo
# install 'market place dev'
# install 'market place dev'


Line 79: Line 80:
# search for 'yacht'
# search for 'yacht'
# purchase it  
# purchase it  
** need profile to purchase: https://webpay.readthedocs.org/en/latest/use_hosted_webpay.html
## need profile to purchase: https://webpay.readthedocs.org/en/latest/use_hosted_webpay.html


test 2
test 2
Line 91: Line 92:
* to point your phone at different locations for persona push this pref to your phone:
* to point your phone at different locations for persona push this pref to your phone:
** dev: user_pref("toolkit.identity.uri", "https://login.dev.anosrep.org");
** dev: user_pref("toolkit.identity.uri", "https://login.dev.anosrep.org");
** for improved logcat info for persona set this:
** for improved logcat info for persona set this: toolkit.identity.debug true
toolkit.identity.debug true
 
* It's easy to test with the wrong configuration.  Here's a environment matrix that helps understand acceptable configs:
** [https://docs.google.com/spreadsheet/ccc?key=0Am9-O6I0-199dGlYc2dQUGtEcG5qUGpYVndCT0p1cHc#gid=0 config setup matrix]


==Glossary==
==Glossary==
* Trusted/Native UI
* Trusted/Native UI
** Phone specific window that hosts a whitelist of URLs/Apps such as marketplace and persona/sign in.
** Phone specific window that hosts a whitelist of URLs/Apps such as marketplace and persona/sign in.
Confirmed users
964

edits