QA/Fennec/Milestones/2.0/TestPlan:Sharing: Difference between revisions

From MozillaWiki
< QA‎ | Fennec‎ | Milestones‎ | 2.0
Jump to navigation Jump to search
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Summary ==  
== Summary ==  
Add form autocomplete support for using email addresses from a device's address book. When in an email field, typing a person's name should display any matching email addresses from the device address book.
Support easy sharing of certain objects (links, pages, bookmarks, etc.) with social networks and contacts. 
 
Current sharing support is Google Reader, Twitter, Facebook, and Email


== Schedule ==  
== Schedule ==  
Line 7: Line 9:


== Test Strategy ==  
== Test Strategy ==  
Manual Tests will be added into the Fennec 2.0 testrun
 
The developer (mbrubeck) will write automated tests as appropriate.  (TODO mbrubeck: add information about automated test coverage.)
 
Manual Tests will be added into the Fennec 2.0 testrun.


;Test Plan
;Test Plan
* Environment
* Environment
** Maemo N900
** Maemo N900
** Android Nexus One (likely beta 1+)
** Android Nexus One
 
* Supported Data from device
** Full Name
** Email address 
*** <input> field has type="email" or if id / class match a [http://mxr.mozilla.org/mobile-browser/source/components/FormAutoComplete.js#76 regex]
** Telephone number
*** <input> field has type="tel" or id/class match a [http://mxr.mozilla.org/mobile-browser/source/components/FormAutoComplete.js#77 regex]
** Changing any of the above info, and restarting fennec will update list


* Order
* Functionality
** Before typing,  
** Supported objects for sharing: current web page; link; image.
*** Priority is History before Contacts data
** "Share Page" will use the URL and title that appear in the address bar.  "Share Link" will use the text of the link as it appears on the page, and the URL of the link. ("Share Link" will not fetch the link to get the page title, or follow redirects to get a different URL.)  "Share Image" will use the URL of the image, and no title.  (Title/alt attributes on images are empty as often as not, and even when present they are frequently unhelpful out of context.)
** During typing,
** Share Page is present in the Larry dropdown
*** names/address from both buckets should be presented integrated, in order based on closeness to match of the entered characters
*** Share Page is the third option shown (after ''Find In Page'' and ''Save as PDF'').
*** where there's a tie, history should come before contacts (same rationale as before)  
*** '''Action:''' Get a list of all documented dialogs and the orders they are in
 
** Also accessed via context menu (''Share Link'' and/or ''Share Image'').
* Other
** Test screen orientation
** Test with non-ascii characters in contacts (eg. ',#)
** Sharing options appear in a dialog window:
** Test with Upper/Lower case characters
*** '''UPDATE: THIS IS GOING TO CHANGE ONCE NATIVE APPS ARE SUPPORTED'''
** Test with Unicode characters?
  Landscape Orientation:
** Test with non-US phone types (update, code doesnt check phone numbers, so any text in the contacts field will be displayed)
  | Title of Site                |
** '''Q: How to handle or distinguish dupes? eg. pulling same contact data versus form data''' (Answer: Dupes are cleared out and history is left)
  |______Email______|___Twitter__|
** '''Q: Does Sync support syncing contacts to the cloud?''' (Answer: Nope, only the contacts in the local address book. On N900, the local address book itself can sync to the cloud if you connect a Google service. I assume Android can do this too.)
  |__Google Reader__|__Facebook__|
 
  Portrait Orientation:
  | Title of Site    |
  |_______Email_______|
  |______Twitter______|
  |___Google Reader___|
  |______Facebook_____|
** For Email, clicking will open another dialog asking to "Launch Application" OK/Cancel buttons
** Clicking elsewhere outside the dialog will dismiss the window
** Selecting the sharing option will copy the URL of the site or image, and open a new tab on that site
*** If selecting Email, it will open the Device email app and paste the URL or image.
** Sharing option is not shown for sites that contain protocols: about|chrome|javascript|mailto|resource
** Sharing option can be visible even if the page is not fully loaded yet. URL and title should be present.
;Native app support
** Sharing options willl appear if native apps are available on the device (eg. Twitter, facebook)
** If apps are not there, sharing options will not be shown
** Native apps will launch when selected, and take focus away from Fennec window
** If native apps require a login, verify sharing page takes user to the selected login page
** If native apps are previously logged in, verify sharing pages populate the URL in the appropriate share box (eg. twitter url will copy text into the textbox)


== Related Bugs ==
== Related Bugs ==
Line 41: Line 57:
* '''New''' {{bug|582616}} - back end (Android)
* '''New''' {{bug|582616}} - back end (Android)
* '''Assigned''' {{bug|582621}} - back end (Maemo/MeeGo)
* '''Assigned''' {{bug|582621}} - back end (Maemo/MeeGo)
* '''New''' {{Bug|598268}} - Add service for supporting platform specific sharing methods
* '''New''' {{Bug|598269}} - Rewrite sharing front end to use the sharing service
* '''New''' {{Bug|596632}} - on n900, make sure that SMS and email are sharing options
See also:
* '''New''' {{Bug|586780}} - Enable Sharing in Context Menu for desktop Firefox


== References ==  
== References ==  
* [https://wiki.mozilla.org/Mobile/Projects/Sharing Sharing Spec]
* [https://wiki.mozilla.org/Mobile/Projects/Sharing Sharing Spec]

Latest revision as of 15:43, 21 September 2010

Summary

Support easy sharing of certain objects (links, pages, bookmarks, etc.) with social networks and contacts.

Current sharing support is Google Reader, Twitter, Facebook, and Email

Schedule

  • 2.0 alpha 1: 8/20

Test Strategy

The developer (mbrubeck) will write automated tests as appropriate. (TODO mbrubeck: add information about automated test coverage.)

Manual Tests will be added into the Fennec 2.0 testrun.

Test Plan
  • Environment
    • Maemo N900
    • Android Nexus One
  • Functionality
    • Supported objects for sharing: current web page; link; image.
    • "Share Page" will use the URL and title that appear in the address bar. "Share Link" will use the text of the link as it appears on the page, and the URL of the link. ("Share Link" will not fetch the link to get the page title, or follow redirects to get a different URL.) "Share Image" will use the URL of the image, and no title. (Title/alt attributes on images are empty as often as not, and even when present they are frequently unhelpful out of context.)
    • Share Page is present in the Larry dropdown
      • Share Page is the third option shown (after Find In Page and Save as PDF).
      • Action: Get a list of all documented dialogs and the orders they are in
    • Also accessed via context menu (Share Link and/or Share Image).
    • Test screen orientation
    • Sharing options appear in a dialog window:
      • UPDATE: THIS IS GOING TO CHANGE ONCE NATIVE APPS ARE SUPPORTED
 Landscape Orientation:
 | Title of Site                |
 |______Email______|___Twitter__|
 |__Google Reader__|__Facebook__| 
 
 Portrait Orientation:
 | Title of Site     |
 |_______Email_______|
 |______Twitter______|
 |___Google Reader___|
 |______Facebook_____| 
    • For Email, clicking will open another dialog asking to "Launch Application" OK/Cancel buttons
    • Clicking elsewhere outside the dialog will dismiss the window
    • Selecting the sharing option will copy the URL of the site or image, and open a new tab on that site
      • If selecting Email, it will open the Device email app and paste the URL or image.
    • Sharing option is not shown for sites that contain protocols: about|chrome|javascript|mailto|resource
    • Sharing option can be visible even if the page is not fully loaded yet. URL and title should be present.
Native app support
    • Sharing options willl appear if native apps are available on the device (eg. Twitter, facebook)
    • If apps are not there, sharing options will not be shown
    • Native apps will launch when selected, and take focus away from Fennec window
    • If native apps require a login, verify sharing page takes user to the selected login page
    • If native apps are previously logged in, verify sharing pages populate the URL in the appropriate share box (eg. twitter url will copy text into the textbox)

Related Bugs

  • Verified bug 582615 - front end
  • New bug 582616 - back end (Android)
  • Assigned bug 582621 - back end (Maemo/MeeGo)
  • New bug 598268 - Add service for supporting platform specific sharing methods
  • New bug 598269 - Rewrite sharing front end to use the sharing service
  • New bug 596632 - on n900, make sure that SMS and email are sharing options

See also:

  • New bug 586780 - Enable Sharing in Context Menu for desktop Firefox

References