scopes
| Size: 1080 Comment:  | Size: 5754 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 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: * 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. * 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 * Install the Instagram or Fitbit scopes from the app store * Navigate to the scope and Check that it displays surfacing results. * Click the "Log-in" result, and ensure that the log in screen is displayed. | 
* Test plan for component: scopes
- Component Checklist: <backlink to your component checklist> 
- Trunk URLs: - lp:unity-scopes-api
- lp:unity-scopes-shell
 
- Ubuntu Package URLs (LP): 
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 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: - 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.
- 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. 
 
 
- Log-in from scope: 
- Test pre-compiled Go scopes - Install the Instagram or Fitbit scopes from the app store
- Navigate to the scope and Check that it displays surfacing results.
- Click the "Log-in" result, and ensure that the log in screen is displayed.
 
Process/Merges/TestPlan/scopes (last edited 2016-06-24 14:26:25 by stolowski)