scopes

Differences between revisions 1 and 27 (spanning 26 versions)
Revision 1 as of 2014-01-28 11:18:19
Size: 1080
Editor: p5DDB2424
Comment:
Revision 27 as of 2014-10-10 14:32:20
Size: 5319
Editor: 105-237-126-206
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
 * '''Trunk URL''': lp:unity8
 * '''Ubuntu Package URL (LP)''': http://launchpad.net/ubuntu/+source/unity8
 * '''Trunk URLs''':
  * lp:unity-scopes-api
  * lp:unity-scopes-shell

 * '''Ubuntu Package URLs (LP)''':
  * https
://launchpad.net/ubuntu/+source/unity-scopes-api
  * https://launchpad.net/ubuntu/+source/unity-scopes-shell
Line 10: Line 14:
    * Install image on phone
    * install freshly build MPs that are needed for landing
    * Test that the phone boots and unity8 starts
    * Test that the indicators are connected and functional
    * Test that starting applications from the dash works
    * Test that starting applications from the Launcher works
    * Test closing apps
    * Test installing an app from the Dash
    * Test uninstalling an app
    * Test a search in the dash (does the OSK come up ok?)
    
    * Ensure that all AP tests are passing.
  * 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:
    * https://wiki.ubuntu.com/Process/Merges/TestPlan/unity-scope-click
  * 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:
    * https://wiki.ubuntu.com/Process/Merges/TestPlan/localmediascopes
  * 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 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.

* 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 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.

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