scopes

Differences between revisions 41 and 42
Revision 41 as of 2015-03-06 09:15:31
Size: 6548
Editor: stolowski
Comment:
Revision 42 as of 2015-04-30 08:26:40
Size: 7236
Editor: stolowski
Comment:
Deletions are marked like this. Additions are marked like this.
Line 18: Line 18:

  * Test first-use experience of My Music and Videos/My Videos scopes
    * verify a large "Get started.." card is displayed in My Music scope when no local music is present on the phone.
    * verify a large "Get started.." card is displayed in My Videos scope when no local videos are present on the phone.
    * verify that camera app icon is displayed in the 1st category in Videos scope, and tapping it launches camera app.
    * verify that uploading some music or videos (or recording a video with camera app) makes "Get started.." card disappear from respective scopes (and if any local video files are present, camera app icon disappears from Videos aggregator scope).

* Test plan for component: scopes

Test Plan

This test plan is not supposed to be complete; use it to guide your manual testing so they dont miss big functional areas that are part in the component; also this should be used as guideline to inspire the exploratory testing which should be adapted smartly based on the real content of a MP

  • Install on phone. During the execution of the tests, keep an eye on /home/phablet/.cache/upstart/scopes-registry.log for any exceptions or errors.
  • Ensure you have some music and videos copied onto your phone
  • Test the "apps" scope:
  • Test first-use experience of My Music and Videos/My Videos scopes
    • verify a large "Get started.." card is displayed in My Music scope when no local music is present on the phone.
    • verify a large "Get started.." card is displayed in My Videos scope when no local videos are present on the phone.
    • verify that camera app icon is displayed in the 1st category in Videos scope, and tapping it launches camera app.
    • verify that uploading some music or videos (or recording a video with camera app) makes "Get started.." card disappear from respective scopes (and if any local video files are present, camera app icon disappears from Videos aggregator scope).
  • Test scope settings:
    • Go to the music scope
    • Verify that your music artists, 7digital, and Grooveshark results appear.
    • Search for music, and ensure appropriate results are returned (from local, 7digital, Grooveshark)
    • Turn off 7digital and Grooveshark results in turn, and check searches only show from the enabled sources.
    • Don't forget to re-enable all the sources again.
  • Test the media scopes:
  • Test the overview:
    • Swipe from the bottom to see the overview.
    • Pick a non-favourited scope, e.g. Amazon, and open it.
    • Add the scope as a favourite (drop down at the top right).
    • Go back to the home screen and check the scope is now swipable to (should be at the far right).
    • Install a new scope (e.g. YouTube scope) using the Ubuntu Store scope, check that it appears in the overview ("Manage Dash") page.

    • Uninstall a scope using Ubuntu Store, check that it disappears from the overview.
  • Test remote scopes:
    • Ensure that network is not available (disconnect or enable "Flight mode").
    • Remove /home/phablet/.cache/unity-scopes/remote-scopes.json file (if exists) and reboot the phone.
    • Swipe from the bottom to see the overview, then navigate to the "All" tab.
    • Verify that the Amazon scope is *not* visible in the list of scopes.
    • Swipe down the network indicator, connect to network, then swipe the indicator menu back up again.
    • After about 10-20s, the list of "All" scopes should refresh.
    • Verify now that the Amazon scope *is* visible in the list of scopes.
    • Open the Amazon scope by tapping on the icon.
    • Ensure that some surfacing results appear in the scope.
    • Search for something and ensure that the appropriate results are returned.
    • Open a result and ensure that the preview looks correct (i.e. Appropriate image(s), texts, and a working "View on Amazon" button)
    • Enable 'Flight mode' and restart the phone
    • Swipe from the bottom to see the overview, then navigate to the "All" tab.
    • Verify that you are in 'Flight mode' and remote scopes such as Amazon are still listed in the Manage view (note: click them however will not display any results while in Flight mode).
  • Test online accounts access:

    !!! NOTE: youtube scope got changed recently and no longer has the 'Log-in..' result; the following steps should be followed with another scope that needs OA & the tests need to be updated !!!

    • Log-in from scope:
      • Install the YouTube scope using the Ubuntu Store scope (If not already installed).

      • Open the YouTube scope from the overview ("Manage Dash") page.

      • When the scope has finished surfacing, scroll to the bottom of the results and check that the last item is "Log-in to YouTube".

      • Tap the "Log-in to YouTube" result.

      • A Google account log-in page should pop up.
      • Select “Cancel”, and check that focus is simply returned to the scope with no further activity (the scope should not refresh).
      • Tap the "Log-in to YouTube" result again.

      • Log in to your Google account, then tap "Accept" on the next page that appears.
      • Once focus is returned to the scope, wait another second and the scope should then refresh its results.
      • When the scope has finished refreshing, scroll to the bottom of the results and check that there is no "Log-in to YouTube" item.

    • Enable / disable scope access:
      • Navigate to System Settings -> Accounts -> Google.

      • On the Google account page you should see an entry for "YouTube" under "Access to this account:". It should be enabled (green tick).

      • Disable "YouTube" by tapping the green tick next to the entry (slides left to the grey X).

      • Return to the YouTube scope.

      • Enter a space (" ") into the search field to refresh the results.
      • When the scope has finished surfacing, scroll to the bottom of the results and check that the "Log-in to YouTube" item is back.

      • Tap the "Log-in to YouTube" result, this should pop up a prompt to either "Allow" or "Don't allow" access.

      • Select "Don't allow", and check that focus is simply returned to the scope with no further activity (the scope should not refresh).
      • Tap the "Log-in to YouTube" result again, and this time select "Allow".

      • Now check that focus is returned to the scope and the scope then refreshes its results.
      • When the scope has finished refreshing, scroll to the bottom of the results and check that there is no "Log-in to YouTube" item again.

  • Test pre-compiled Go scopes
    • Ensure that you have no Fitbit accounts configured under System Settings -> Accounts.

    • Install the Fitbit scope using the Ubuntu Store scope (If not already installed).
    • Open the Fitbit scope from the overview ("Manage Dash") page.
    • When the scope has finished surfacing, you should see only one "Add your Fitbit account" result.
    • Tap the "Add your Fitbit account" result.
    • A Fitbit account log-in page should pop up.
    • Log in to a Fitbit account.
    • Once focus is returned to the scope the scope should then refresh its results.
    • When the scope has finished refreshing, you should now see some categories (E.g. "My Activity", "My Food") and results under each.
    • Open a result and ensure that the preview looks correct (i.e. Appropriate image(s), texts)

Process/Merges/TestPlan/scopes (last edited 2016-06-24 14:26:25 by stolowski)