scopes

Differences between revisions 25 and 26
Revision 25 as of 2014-10-08 16:53:53
Size: 5623
Editor: 105-237-126-206
Comment:
Revision 26 as of 2014-10-10 04:38:45
Size: 5323
Editor: 105-237-126-206
Comment:
Deletions are marked like this. Additions are marked like this.
Line 42: Line 42:
        * Once focus is returned to the scope, wait a few more seconds and the scope should then refresh its results.         * Once focus is returned to the scope, wait another second and the scope should then refresh its results.
Line 49: Line 49:
        * (If the YouTube scope is favorited, you'll need to enter a space (" ") into the search field to refresh the results).         * Enter a space (" ") into the search field to refresh the results.
Line 66: Line 66:
        * (If the YouTube scope is favorited, you'll need to 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 again.
        * Tap the "Log-in to YouTube" result.
        * Enter a space (" ") into the search field to refresh the results.

* 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 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 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 online accounts access:
    • Log-in from scope:
      • Install the YouTube scope using 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.
      • Log in to your Google account, then tap "Accept" on the next page that appears.
      • The log-in page should close, after which a loading screen displaying "Online Accounts" should pop up for a moment, then disappear.
      • 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.

    • Log-in from system settings:
      • Navigate back to System Settings -> Accounts -> Google.

      • On the Google account page, tap "Remove account...", then tap "Remove" on the prompt that appears.
      • (If another prompt labelled "Synchronization" pops up, tap "No").
      • Now from the Accounts page, select Add account -> Google.

      • Log in to your Google account, then tap "Accept" on the next page that appears.
      • The log-in page should close and return to the Accounts page.
      • Tap on the newly created Google account.
      • Enable "YouTube" by tapping the grey X next to the entry (slides right to the green tick).

      • Return to the YouTube scope.

      • Enter a space (" ") into the search field to refresh the results.
      • A loading screen displaying "Online Accounts" should pop up for a moment, then disappear.
      • Once focus is returned to the scope, wait a few more seconds 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.

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