canmove, Confirmed users
2,041
edits
No edit summary |
|||
(30 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
=OBSOLETE= | |||
Please note that this test plan is now obsolete, and is no longer underway. | |||
=Boot2Gecko WebAPI Test Plan= | =Boot2Gecko WebAPI Test Plan= | ||
Line 8: | Line 12: | ||
|- | |- | ||
| '''Contributors''' | | '''Contributors''' | ||
| [mailto:mwargers@mozilla.com Martijn Wargers] (irc: mw22)<br/>[mailto:dclarke@mozilla.com David Clarke] (irc: onecyrenus) | | [mailto:mwargers@mozilla.com Martijn Wargers] (irc: mw22)<br /> | ||
[mailto:dclarke@mozilla.com David Clarke] (irc: onecyrenus)<br /> | |||
[mailto:jsmith@mozilla.com Jason Smith] (irc: jsmith) | |||
|- | |- | ||
| '''Status''' | | '''Status''' | ||
| Pre-release, approaching [https://docs.google.com/spreadsheet/ccc?key= | | Pre-release, approaching [https://docs.google.com/spreadsheet/ccc?key=0AiBigu584YY7dGlNSlY0QzhJb3M5anRBa1gxalV0Y3c#gid=0 Milestone 5] | ||
|- | |- | ||
| '''Tracker''' | | '''Tracker''' | ||
Line 18: | Line 24: | ||
| '''Project Page''' | | '''Project Page''' | ||
| [[WebAPI]] | | [[WebAPI]] | ||
|- | |||
| '''References''' | |||
| [[/Instructions for Contributors|Instructions for Contributors]] | |||
|} | |} | ||
Line 38: | Line 47: | ||
=== Interactive Exercises === | === Interactive Exercises === | ||
Some APIs have effects | Some APIs have effects that cannot be verified through unattended automation. One example would be whether a microphone is open and receiving sound. Another example would be whether the phone is actually vibrating in response to an API call. These APIs must be verified interactively. | ||
It would be tempting to use Gaia to exercise the API, but Gaia apps cannot be guaranteed to be using the APIs in a controlled fashion; that would require inappropriately locking in their implementation. So for these APIs, it is best to test using code specifically designed to exercise the APIs in a known fashion. In addition, as CI automation cannot be currently run on a final target device, it may be useful to have exercises even for APIs we address primarily through CI. | It would be tempting to use Gaia to exercise the API, but Gaia apps cannot be guaranteed to be using the APIs in a controlled fashion; that would require inappropriately locking in their implementation. So for these APIs, it is best to test using code specifically designed to exercise the APIs in a known fashion. In addition, as CI automation cannot be currently run on a final target device, it may be useful to have exercises even for APIs we address primarily through CI. | ||
Line 45: | Line 54: | ||
Tentatively, the plan is to implement exercises as pages where possible for expediency's sake, but to eventually move them into a standalone app that developers and the testing community can experiment with. | Tentatively, the plan is to implement exercises as pages where possible for expediency's sake, but to eventually move them into a standalone app that developers and the testing community can experiment with. | ||
Also see the [[/On_Device|On Device Test Plan]]. | |||
== API Sub-Plan List == | == API Sub-Plan List == | ||
Line 50: | Line 61: | ||
{| class="fullwidth-table" | {| class="fullwidth-table" | ||
|- | |- | ||
| style="width: | | style="width:20%" | '''API''' | ||
| style="width: | | style="width:42%" | '''Description''' | ||
| style="width:18%" | '''Status''' | | style="width:20%" | '''API Status''' | ||
| style="width:18%" | '''Automation Status''' | |||
|- | |- | ||
| [[/Screen Orientation|Screen Orientation]] | | [[/Screen Orientation|Screen Orientation]] | ||
| | | Screen Orientation notifications and locking | ||
| [https://bugzilla.mozilla.org/show_bug.cgi?id=760735 | | Ready | ||
| [https://bugzilla.mozilla.org/show_bug.cgi?id=760735 First round done] | |||
|- | |- | ||
| [[/Web Activities|Web Activities]] | | [[/Web Activities|Web Activities]] | ||
| Delegate an activity to another application. | | Delegate an activity to another application. | ||
| | | Ready | ||
| Developer contacted | |||
|- | |- | ||
| [[/Vibration|Vibration]] | | [[/Vibration|Vibration]] | ||
| Control device vibration for things like haptic feedback in games. | | Control device vibration for things like haptic feedback in games. | ||
| | | Ready | ||
| Developer contacted [https://bugzilla.mozilla.org/show_bug.cgi?id=679966 First round done by developer] | |||
|- | |- | ||
| [[/Alarm|Alarm]] | | [[/Alarm|Alarm]] | ||
| Schedule a notification, or for an application to be started, at a specific time. | | Schedule a notification, or for an application to be started, at a specific time. | ||
| | | Ready | ||
| Tests in Suite | |||
|- | |- | ||
| [[/Push Notifications|Push Notifications]] | | [[/Push Notifications|Push Notifications]] | ||
| Allow the platform to send notification messages to specific applications. | | Allow the platform to send notification messages to specific applications. | ||
| Unknown (TEF) | |||
| Not Started | | Not Started | ||
|- | |- | ||
| [[/Geolocation|Geolocation]] | | [[/Geolocation|Geolocation]] | ||
| Get current device position | | Get current device position | ||
| | | Ready | ||
| Developer contacted | |||
|- | |- | ||
| [[/ | | [[/Device Storage|Device Storage]] | ||
| | | Add/Read/Modify files stored on a central location on the device. | ||
| | | Ready | ||
| First Round Completed, Blocked on Outstanding Bug | |||
|- | |- | ||
| [[/Contacts|Contacts]] | | [[/Contacts|Contacts]] | ||
| Add/Read/Modify the device contacts address book. | | Add/Read/Modify the device contacts address book. | ||
| Ready (Priv) | |||
| Not Started | | Not Started | ||
|- | |- | ||
| [[/Camera|Camera]] | | [[/Camera|Camera]] | ||
| Control of front/rear cameras on-device | | Control of front/rear cameras on-device | ||
| Unknown | |||
| Not Started | | Not Started | ||
|- | |- | ||
| [[/TimeClock|Time/Clock]] | | [[/TimeClock|Time/Clock]] | ||
| Get notifications about time changes (high priority). | | Get notifications about time changes (high priority). Set current time (low priority). | ||
| Ready | |||
| Not Started | | Not Started | ||
|- | |- | ||
| [[Idle]] | | [[Idle]] | ||
| Get notifications when user is idle. | | Get notifications when user is idle. | ||
| | | Ready | ||
| Not Started | | Not Started | ||
|- | |- | ||
| [[/Battery Status|Battery Status]] | | [[/Battery Status|Battery Status]] | ||
| Information about battery charge level and if device is plugged in. | | Information about battery charge level and if device is plugged in. | ||
| Ready | |||
| Not Started | | Not Started | ||
|- | |- | ||
| [[/FM Radio|FM Radio]] | | [[/FM Radio|FM Radio]] | ||
| For FM radio feature. | | For FM radio feature. | ||
| In Progress (Priv) | |||
| Not Started | | Not Started | ||
|- | |- | ||
| [[/WebSMS|WebSMS]] | | [[/WebSMS|WebSMS]] | ||
| Send/receive SMS messages as well as manage messages stored on device. | | Send/receive SMS messages as well as manage messages stored on device. | ||
| Ready (Priv) | |||
| Planning | | Planning | ||
|- | |- | ||
| [[/Permissions|Permissions]] | | [[/Permissions|Permissions]] | ||
| Allow an app to manage all app permissions in a centralized location | | Allow an app to manage all app permissions in a centralized location | ||
| In Progress (Priv) | |||
| Not Started | | Not Started | ||
|- | |- | ||
| [[/WebTelephony|WebTelephony]] | | [[/WebTelephony|WebTelephony]] | ||
| Allow placing and answering phone calls as well as build in-call UI. | | Allow placing and answering phone calls as well as build in-call UI. | ||
| Ready (Priv) | |||
| Not Started | | Not Started | ||
|- | |- | ||
| [[/Settings|Settings]] | | [[/Settings|Settings]] | ||
| Set system-wide configurations that are saved permanently on the device. | | Set system-wide configurations that are saved permanently on the device. | ||
| Ready (Priv) | |||
| Not Started | | Not Started | ||
|- | |- | ||
| [[/Browser|Browser]] | | [[/Browser|Browser]] | ||
| Enables implementing a browser completely in web technologies. | | Enables implementing a browser completely in web technologies. | ||
| Ready (Priv) | |||
| Not Started | | Not Started | ||
|- | |- | ||
| [[/Web Bluetooth|Web Bluetooth]] | | [[/Web Bluetooth|Web Bluetooth]] | ||
| Low level access to Bluetooth hardware. (Currently headset-only) | | Low level access to Bluetooth hardware. (Currently headset-only) | ||
| Ready (Priv) | |||
| Not Started | | Not Started | ||
|- | |- | ||
| [[/Mobile Connection|Mobile Connection]] | | [[/Mobile Connection|Mobile Connection]] | ||
| Expose signal strength, operator, etc for GSM and other mobile connections. | | Expose signal strength, operator, etc for GSM and other mobile connections. | ||
| Ready (Priv) | |||
| Not Started | | Not Started | ||
|- | |- | ||
| [[Power Management|Power Management]] | | [[Power Management|Power Management]] | ||
| Turn on/off screen, cpu, device power, etc. Listen and inspect resource lock events. | | Turn on/off screen, cpu, device power, etc. Listen and inspect resource lock events. | ||
| | | Ready (Priv) | ||
| Tests in Suite | |||
|- | |- | ||
| [[/WiFi Info|Wifi Info]] | | [[/WiFi Info|Wifi Info]] | ||
| Enumerate | | Enumerate WiFi networks, get signal strength and name of current network, etc. | ||
| Ready | |||
| Not Started | | Not Started | ||
|- | |- | ||
| [[/ | | [[/WebPayment|WebPayment]] | ||
| | | Allow payments for virtual goods | ||
| | | Ready | ||
| Unit test automation present, Gaia UI Test automation currently being investigated | |||
|} | |} | ||
<small>Template for new Sub-Plans can be found [[B2G/QA/WebAPI Test Plan/Template|here]].</small> | <small>Template for new Sub-Plans can be found [[B2G/QA/WebAPI Test Plan/Template|here]].</small> |