QA/Fennec/Tab Queue

From MozillaWiki
< QA‎ | Fennec
Jump to: navigation, search

Feature Reference

Ownership

Status

  • Nightly: [ON TRACK]
  • Aurora: [ON TRACK]
  • Beta: [ON TRACK]

Tracking Bugs

Summary

Requirements

Queue links in Firefox instead of switching applications each time
Give users the ability to load links, without having to switch apps every time. The idea is to defer that choice to the user.
The idea was that Firefox would load all the links in this “list” next time the user opened the app
There might be an unpredictable amount of delay between opening and consuming. So, the notifications was introduced — a more subtle way to remind users “those links are waiting for you”.

Scenarios

Feature enabled in Settings

  • Enable it from settings
enabling/disabling this feature in Settings





  • After a user presses a link, a feedback notification is displayed
toast feedback





  • There are two options:
1. If there is an amount of delay until switching to that link, a notification is displayed in the android notification bar with the link queued to open it later
toast feedback
        1.1 Tapping the android notification
-If there is only one link, tapping the notification will load the tab -If there is more than one link in queue, tapping the notification will display the tab tray.
        1.2 Tapping the launcher Nightly icon when you have the notification in android notification bar
-If there is only one link, tapping the notification will load the tab -If there is more than one link in queue, tapping the notification will display the tab tray.
2. The user can open the link in Firefox by tapping the notification button "switch

Feature disabled in Settings

A prompt informing users about Tab Queue, appears when you have three external links opened with Nightly and you try to open the fourth.  
There are 3 options when the prompt appears:
 -"Enable" it by tapping the "Enable button": this will display a green check symbol and the preference is enabled in settings
 -"Not now": will not set the preference to true and the prompt won't show again
 -"Ignore "it by tapping the back button or outside the prompt. The prompt will hide and will appear after another 3 external links are opened again in Nightly. If you ignore it once again, it will show another time, after another 3 links are opened. If you also ignore it now, it will not show again.(It appears only three times)
toast feedback





Nightly status

Date:16-04-2015

UI prompt to inform about tab queue feature
First time user experience





Enable feature from prompt
Feature enabled from prompt





Feedback Toast notification
Feedback notification after clicking a link





Tab queued notification from notification bar
Tab queue notification





Settings
Settings preference





Date:23-04-2015

UI prompt to inform about tab queue feature
First time user experience





Enable feature from prompt
Feature enabled from prompt





Feedback Toast notification
Feedback notification after clicking a link





Tab queued notification from notification bar
Tab queue notification





Settings
Settings preference






Date:24-04-2015

UI prompt to inform about tab queue feature
First time user experience





Enable feature from prompt
Feature enabled from prompt





Feedback Toast notification
Feedback notification after clicking a link





Tab queued notification from notification bar
Tab queue notification





Settings
Settings preference





Date:03-05-2015

UI prompt to inform about tab queue feature
First time user experience





Enable feature from prompt
Feature enabled from prompt





Feedback Toast notification
Feedback notification after clicking a link





Tab queued notification from notification bar
Tab queue notification





Settings
Settings preference





Date:06-05-2015

UI prompt to inform about tab queue feature
First time user experience





Enable feature from prompt
Feature enabled from prompt





Feedback Toast notification
Feedback notification after clicking a link





Tab queued notification from notification bar
Tab queue notification





Settings
Settings preference





Date:09-06-2015

UI prompt to inform about tab queue feature
First time user experience





Enable feature from prompt
Feature enabled from prompt





Feedback Toast notification
Feedback notification after clicking a link





Tab queued notification from notification bar
Tab queue notification





Settings
Settings preference





Date:14-07-2015

UI prompt to inform about tab queue feature
First time user experience





Enable feature from prompt
Feature enabled from prompt





Feedback Toast notification
Feedback notification after clicking a link





Tab queued notification from notification bar
Tab queue notification





Settings
Settings preference

Aurora status

Date:20-08-2015

UI prompt to inform about tab queue feature
First time user experience





Enable feature from prompt
Feature enabled from prompt





Feedback Toast notification
Feedback notification after clicking a link





Tab queued notification from notification bar
Tab queue notification





Settings
Settings preference

Beta status

Date:22-09-2015

UI prompt to inform about tab queue feature
First time user experience





Enable feature from prompt
Feature enabled from prompt





Feedback Toast notification
Feedback notification after clicking a link





Tab queued notification from notification bar
Tab queue notification





Settings
Settings preference

Gingerbread devices

  • feature disabled on all branches on gingerbread devices

Bugzilla

  • Tab Queue (query with status, no, )

ex:

Full Query
ID Summary Priority Status
1112195 Create UX explaining Open in background to users -- RESOLVED
1117921 Expose relevant information in "open-in-background" queue -- RESOLVED
1129433 Show "# tabs opened in background" notification in system tray -- RESOLVED
1129439 Explore UX/UI when a user opens fennec after they opened links in background -- RESOLVED
1129443 Add item in Settings to manage tab queue -- RESOLVED
1130352 Load (and cache) queued links in background -- RESOLVED
1130368 Add toast feedback after a user clicks a link -- VERIFIED
1132185 Put the tab queue behind a build flag -- RESOLVED
1132507 Remove Tab Queue build flags -- RESOLVED
1133755 Final copy for Tab Queue -- VERIFIED
1134148 Decide what to do when a tab queue request is received without a URL -- RESOLVED
1134235 Store Tab Queue urls in file -- RESOLVED
1138409 Write test to cover customize title change when tab queue is enabled -- RESOLVED
1138865 Make the MOZ_ANDROID_TAB_QUEUE app constant rely on the nightly flag -- RESOLVED
1145579 Open tab queue file when fennec starts or resumes -- RESOLVED
1145581 Show tabs when opening fennec from the Tab Queue notification -- VERIFIED
1146325 Convert loaded tab queue data to the required format and send to gecko to open -- RESOLVED
1146589 Ensure that tab opened with "open now" action is selected and visible when fennec loads -- RESOLVED
1148007 Show Queue Tab toast only if Tab Queue preference is enabled -- VERIFIED
1148380 Tab Queue: Optimise code in GeckoApp onNewIntent for ACTION_VIEW when Tabs queued -- RESOLVED
1148431 Create UI to inform users of Tab Queue and allow them to turn on or ignore -- VERIFIED
1149577 Remove history and recents affecting flags from TabQueueDispatcher entry in AndroidManifest -- RESOLVED
1149645 Polish UI of Toast to be same as rest of Fennec -- VERIFIED
1151967 Ensure TabQueueDispatcher has crash reporting enabled -- RESOLVED
1152244 Polish Tab Queue Prompt UI -- RESOLVED
1152250 Refactor animations for tab queue and first run -- RESOLVED
1152256 Decide if enums are better than ints for TabQueuePrompt response codes -- RESOLVED
1152825 Enable Tab Queue on nightly -- RESOLVED
1152873 Get TabQueueDispatcher to use SafeIntent -- RESOLVED
1153908 Move Tab Queue Notification click logic off UI thread -- RESOLVED
1154274 crash in java.lang.IllegalThreadStateException: Expected anything but 1 ("main"), but running there. at org.mozilla.gecko.util.ThreadUtils.assertOnThreadComparison(ThreadUtils.java) -- RESOLVED
1154425 Tapping the same link twice when Tab Queue is enabled should Open Now -- RESOLVED
1154473 Pre-resolve queued URLs -- RESOLVED
1154602 Unable to open .html file via Dropbox Native App -- VERIFIED
1155226 Unify text from feedback toast after tapping a link -- RESOLVED
1155291 See if we can display the Tab Queue toast without the permission bump -- RESOLVED
1155994 TabQueue : Attempt to read from field 'java.lang.String android.content.Intent.mAction' on a null object reference -- RESOLVED
1156093 Make sure service stops when Tab Queue open now button is pressed -- RESOLVED
1156553 Tab queue makes captive portal use annoying -- RESOLVED
1156563 Tab queue displays multiple Nightlies in recent apps -- RESOLVED
1157041 Change tab queue notification text -- VERIFIED
1157528 Add toast to inform user of tabs opened via tabqueue -- RESOLVED
1157733 Tab Queue: Load View action intent normally if not in Nightly -- RESOLVED
1157949 Open tabs panel when opening tab queue when Fx opened via the launcher icon -- VERIFIED

44 Total; 0 Open (0%); 35 Resolved (79.55%); 9 Verified (20.45%);


Testing scenarios

Types of testing

Testing focused on basic functionality, exploratory testing

Open 3 links with Nightly and you try to open the fourth.  
Choose "Enable it" from the prompt 
Choose "Not now" from the prompt and open other links to see that the prompt won't show again
Choose "Ignore it" from the prompt by tapping the back button
Verify that after another 3 external links are opened again in Nightly
Verify If you ignore it once again, it will show another time, after another 3 links are opened.
Verify If you also ignore it the third time, it will not show again.(It appears only three times)
Choose "Ignore it" from the prompt by tapping outside the prompt.
Verify that after another 3 external links are opened again in Nightly
Verify If you ignore it once again, it will show another time, after another 3 links are opened.
Verify If you also ignore it the third time, it will not show again.(It appears only three times)
Tapping a link outside Firefox notification feedback from different apps
Open more than 5 links from external apps in Nightly
Enable and disable the pref from settings

Testing focused on recent bugs and regressions

Open 1 link queued by tapping the notification when Fx isn't loaded
Open 1 link queued by tapping the notification when Fx is loaded
Open more than 2 links queued by tapping the notification when Fx 
Open more than 2 links queued by tapping the notification when Fx isn't loaded
Open 1 link queued by tapping the launcher icon when Fx isn't loaded
Open 1 link queued by tapping the launcher icon when Fx is loaded
Open more than 2 links queued by tapping the launcher icon when Fx 
Open more than 2 links queued by tapping the launcher icon when Fx isn't loaded
Tapping the same link twice when Tab Queue is enabled from different apps
Open dupe links from external apps in Nightly
Put 2 tabs in tab queue and the third open it and Fx isn't loaded 
Put 2 tabs in tab queue and the third open it and Fx is loaded 
Put a link in tab queue, the second open it now

Moztrap Test Cases

- Tab Queue Preference
- UI prompt to inform about tab queue
- Enable tab queue from the prompt
- Choose not to enable Tab Queue from the prompt
- Ignore the prompt that informs about tab queue by tapping the back button
- Ignore the prompt that informs about tab queue by tapping outside the prompt
- Tapping a link outside Firefox notification feedback
- "Open Now" from the notification feedback after tapping a link when Fx is loaded
- "Open Now" from the notification feedback after tapping a link when Fx is not loaded
- Put external link in tab queue
- Open 1 link queued by tapping the notification when Fx isn't loaded
- Open 1 link queued by tapping the notification when Fx is loaded
- Put a link in tab queue, the second open it now when Fx is closed
- Put a link in tab queue, the second open it now when Fx is opened
- External links are loaded in the separate tabs in Firefox 
- Visible & selected tab correct when tab queue loaded and Fx is loaded 
- Visible & selected tab correct when tab queue loaded and Fx isn't loaded 
- Open more than 2 links queued by tapping the notification when Fx isn't loaded
- Open more than 2 links queued by tapping the notification when Fx is loaded
- Open more than 2 links queued by tapping the launcher icon when Fx isn't loaded
- Open more than 2 links queued by tapping the launcher icon when Fx is loaded
- Open 1 link queued by tapping the launcher icon when Fx is loaded
- Open 1 link queued by tapping the launcher icon when Fx isn't loaded
 
Tapping the same link twice when Tab Queue is enabled should Open Now
Toast notification when trying to add the same link to the tab queue

Scenario testing

19-04-2015

Bug work

Still Issues

[NEW] Bug 1182918 - Add telemetry for "double press" action in Tab Queues
[NEW] Bug 1161667 - Handle tab queues with Browser.EXTRA_APPLICATION_ID
[NEW] Bug 1171860 - Tapping the tab queue notification will open the link in normal browsing with "Open links in Private browsing" pref enabled
[NEW] Bug 1159296 - Add toast notification when trying to add the same link to the tab queue
[NEW] Bug 1159296 - Add toast notification when trying to add the same link to the tabqueue

Bugs fixed

[VERIFIED FIXED] Bug 1130368 - Add toast feedback after a user clicks a link

2015-04-28: verified fixed on latest Nightly 40.0a1 (2015-04-28) using Alcatel One Touch (Android 4.1.2)

[VERIFIED FIXED] Bug 1133755 - Final copy for Tab Queue

2015-04-28: verified fixed on latest Nightly 40.0a1 (2015-04-28)

[RESOLVED FIXED] Bug 1145579 - Open tab queue file when fennec starts or resumes
[VERIFIED FIXED] Bug 1145581 - Show tabs when opening fennec from the Tab Queue notification

2015-04-28: verified fixed on latest Nightly 40.0a1 (2015-04-28) using Samsung s5 (Android 4.4)

[VERIFIED FIXED] Bug 1148007 - Show Queue Tab toast only if Tab Queue preference is enabled

2015-04-28: verified fixed on latest Nightly 41.a1 (2015-05-27) using Samsung s5 (Android 4.4.4)

[VERIFIED FIXED] Bug 1148431 - Create UI to inform users of Tab Queue and allow them to turn on or ignore

2015-04-28: verified fixed on latest Nightly 40.0a1 (2015-04-28) using Alcatel One Touch (Android 4.1.2)

[VERIFIED FIXED] Bug 1149645 - Polish UI of Toast to be same as rest of Fennec

2015-04-28: verified fixed on latest Nightly 40.0a1 (2015-04-28) using Alcatel One Touch (Android 4.1.2)
2015-04-29: filed bug 1159718 to track removing the notification when quick open is activated.
2015-04-29: filled Bug 1159296 suggesting that it would be helpful to inform users with a notification when the same tab is already queued

[VERIFIED FIXED] Bug 1154602 - Unable to open .html file via Dropbox Native App

2015-04-29: verified fixed on latest Nightly 40.0a1 (2015-04-28) using Alcatel One Touch (Android 4.1.2)

[VERIFIED FIXED] Bug 1157041 - Change tab queue notification text

2015-04-29: verified fixed on latest Nightly 40.0a1 (2015-04-29) using Alcatel One Touch (Android 4.1.2)

[VERIFIED FIXED] Bug 1157949 - Open tabs panel when opening tab queue when Fx opened via the launcher icon

2015-04-29: verified fixed on latest Nightly 40.0a1 (2015-04-29) using Alcatel One Touch (Android 4.1.2) and Asus Transformer (Android 4.0.3)

[VERIFIED FIXED] Bug 1159770 - Replace check assets with smaller version on Tab Queue Prompt

2015-05-06: verified fixed on latest Nightly 40.0a1 (2015-05-06) using Samsung S5 (Android 4.4.2)

[VERIFIED FIXED] Bug 1159718 - Remove notification when 'quick open' is activated in Tab Queue

2015-05-06: verified fixed on latest Nightly 40.0a1 (2015-05-06) using Samsung S5 (Android 4.4.2)

[VERIFIED FIXED] Bug 1159752 - Visible & selected tab incorrect when tab queue loaded and Fx isn't loaded

2015-05-17: verified fixed on latest Nightly 41.0a1 (2015-05-17) using Alcatel One Touch (Android 4.1.2)

[VERIFIED FIXED] Bug 1165856 - Nightly app does not appear in task switcher when opening external links

2015-05-28: verified fixed on latest Nightly 41.0a1 (2015-05-21) using Nexus 4 (Android 5.0)

[VERIFIED FIXED] Bug 1159368 - After queueing a tab, I get put into the search activity

2015-06-04: verified fixed on latest Nightly 41,0a1 (2015-06-04) using Nexus 7 (Android 5.0)


[RESOLVED FIXED] Bug 1129433 - Show "# tabs opened in background" notification in system tray
[RESOLVED FIXED] Bug 1129443 - Add item in Settings to manage tab queue
[RESOLVED FIXED] Bug 1145579 - Open tab queue file when fennec starts or resumes
[RESOLVED FIXED] Bug 1157733 - Tab Queue: Load View action intent normally if not in Nightly
[RESOLVED FIXED] Bug 1159368 - After queueing a tab, I get put into the search activity
[RESOLVED FIXED] Bug 1155911 - [tab queue] Opening external links can cause two nightly apps in task switcher
[RESOLVED FIXED] Bug 1164938 - Enable MOZ_ANDROID_TAB_QUEUE flag only on NIGHTLY_BUILD because draw over other apps permission is required

2015-05-22: filled Bug 1167788 - Aurora unexpectedly runs in the same process as Nightly

[RESOLVED FIXED] Bug 1156093 - Make sure service stops when Tab Queue open now button is pressed
[RESOLVED FIXED] Bug 1155994 - TabQueue : Attempt to read from field 'java.lang.String android.content.Intent.mAction' on a null object reference
[RESOLVED FIXED] Bug 1151967 - Ensure TabQueueDispatcher has crash reporting enabled
[RESOLVED FIXED] Bug 1152825 - Enable Tab Queue on nightly
[RESOLVED FIXED] Bug 1154425 - Tapping the same link twice when Tab Queue is enabled should Open Now

2015-04-28: filled Bug 1159296 - Add toast notification when trying to add the same link to the tab queue

[RESOLVED FIXED] Bug 1146589 - Ensure that tab opened with "open now" action is selected and visible when fennec loads

2015-03-27: filled Bug 1159752 to track the shown tab not being correct when loading tab queue tabs without Fx being open.
2015-04-28: filled Bug 1159260 - "about:home" should not be displayed when tapping the "Nightly: x tab waiting" notification when Nightly is closed

[RESOLVED FIXED] Bug 1178509 - Update strings for Tab Queue to match Tracking Protection

Bugs assigned

[ASSIGNED] Bug 1177414 - Queued tabs stall on load

To do

Tab Queue v2

[ASSIGNED] Bug 1156553 - Tab queue makes captive portal use annoying
[ASSIGNED] Bug 1154473 - Pre-resolve queued URLs
[NEW] Bug 1157528 - Add toast to inform user of tabs opened via tabqueue
[NEW] Bug 1170135 - Revise Tab Queue Prefs wording
[NEW] Bug 1165892 - Tab Queue: Prompt to enable after a few external links opened in short amount of time
[NEW] Bug 1159260 - "about:home" should not be displayed when tapping the "Nightly: x tab waiting" notification when Nightly is closed
[NEW] Bug 1158279 - Create advanced settings / preferences for tab queue
[NEW] Bug 1152250 - Refactor animations for tab queue and first run
[NEW] Bug 1148380 - Tab Queue: Optimise code in GeckoApp onNewIntent for ACTION_VIEW when Tabs queued
[NEW] Bug 1138409 - Write test to cover customize title change when tab queue is enabled
[NEW] Bug 1132507 - Remove Tab Queue build flags
[NEW] Bug 1183111 - Grab favicon from queued tabs
[NEW] Bug 1182916 - Actually load/open tabs in background for tab queue
[NEW] Bug 1172272 - Richer notifications for Tab Queue
[NEW] Bug 1172271 - Explore a 'Quick View' feature when using Tab Queue