User talk:Dclarke
Mochi Tests
- talk to fabrice, about where to file firefox bugs
- first test is to verify no apps are installed initially
- pref off
- Mochi Tests are run inside the browser, with a specialized profile. They are generally pure javascript / html.
- You need to grab a special privileges mode
- Ability to send events to the browser, as well as interact with the chrome
- Special Powers is the new facility to gain permissions to the chrome
- Tests can be run by downnloading the *test.zip file <unzipdir>/mochitest/tests
- ftp://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-central/
- Then runtest.py, allows you to run the tests against a nightly build of firefox, no need to build from scratch
- Tinderbox push log https://tbpl.mozilla.org/ M(1 2 3 4 5) Mochi tests, orange tests indicate intermittent failure, * indicates noted .
- https://developer.mozilla.org/en/Mochitest
- http://mxr.mozilla.org/mozilla-central/source/testing/mochitest/ <-- all mochitests
- Example Tests which may help for webapps:
http://mxr.mozilla.org/mozilla-central/source/toolkit/components/passwordmgr/test/ http://mxr.mozilla.org/mozilla-central/source/toolkit/components/passwordmgr/test/pwmgr_common.js#133 http://mxr.mozilla.org/mozilla-central/source/dom/tests/mochitest/geolocation/ http://mxr.mozilla.org/mozilla-central/source/dom/tests/mochitest/geolocation/test_allowCurrent.html?force=1
- Test Log output
INFO | automation.py | Application pid: 2137 0 INFO Running tests in tests/Harness_sanity, tests/MochiKit-1.4.2/tests, tests/browser/base/content/test, tests/browser/components/feeds /test, tests/caps/tests/mochitest, tests/content/base/test, tests/content/base/test/websocket_hybi, tests/content/canvas/test/crossorigin, tests/content/canvas/test, tests/content/canvas/test/webgl, tests/content/events/test, tests/content/html/content/test, tests/content/html/document/test, tests/content/me 1 INFO SimpleTest START 2 INFO TEST-START | /tests/Harness_sanity/test_SpecialPowersExtension.html SPECIALPTEST:::Test script loaded 1327349640866 SPECIALPTEST:::Test script running after load 1327349640868 3 INFO TEST-PASS | /tests/Harnesshttps://developer.mozilla.org/en/Mochitest
Integration Testing for Apps
International Characters in manifest / upload process
Verify end to end app purchase
w/ browserID w/ paypal w/o paypal
HTML5 / Extension / Soup
Android --> Android Desktop --> Desktop Android --> Desktop Desktop --> Android
Include chrome into the mix as well.
Soup Architecture:
It is very possible soup will have problems at certain times in the load cycle for a page where you could like on an install and get an HTML5 implementation. So being on the lookout for scenarios where that could / would happen would be helpful.
Sauropod Architecture: Data store is using hbase, think google big table, where data is stored with key value pairs. Sauropod is the name of the backend web server that takes the web request and either pushes to the hbase data store, or retrieves data for the user. What can go wrong if app sync is down .. and or slow to respond ?
Extension:
Browser Upgrade / Downgrade: Installing apps / purchasing apps, combinations of installing to desktop , uninstalling the browser, reinstalling the extension etc.. verifying the installed apps are removed and or start working again. What happens when you log back into browser id.
Mechanism for modifying install_data ? App Sync should sync all apps or just mozilla apps ?
How does dashboard performance work with no internet connection ? both on android / extension ?