← Back to team overview

ubuntu-touch-coreapps-reviewers team mailing list archive

[Merge] lp:~popey/ubuntu-weather-app/manual-tests into lp:ubuntu-weather-app/reboot

 

Alan Pope  has proposed merging lp:~popey/ubuntu-weather-app/manual-tests into lp:ubuntu-weather-app/reboot.

Commit message:
Add manual tests

Requested reviews:
  Ubuntu Weather Developers (ubuntu-weather-dev)

For more details, see:
https://code.launchpad.net/~popey/ubuntu-weather-app/manual-tests/+merge/272733
-- 
Your team Ubuntu Weather Developers is requested to review the proposed merge of lp:~popey/ubuntu-weather-app/manual-tests into lp:ubuntu-weather-app/reboot.
=== added directory 'tests/manual'
=== added file 'tests/manual/first-run.pxu'
--- tests/manual/first-run.pxu	1970-01-01 00:00:00 +0000
+++ tests/manual/first-run.pxu	2015-09-29 11:36:45 +0000
@@ -0,0 +1,64 @@
+id: first-run/check-icon
+plugin: manual
+_summary: Test to check correct icon is used
+estimated_duration: 600
+_description
+    Test to check correct icon is used
+    1. Install weather reboot
+        Weather icon with a cloud and 12-spiked sun should appear in the dash
+
+id: first-run/location-check
+plugin: manual
+_summary: Test to confirm location is requested
+estimated_duration: 600
+_description
+    Test to confirm location is requested
+    1. Launch weather reboot
+        Expect to see 'location acceptance screen'
+
+id: first-run/location-deny
+plugin: manual
+_summary: Test to confirm effect of denying location access
+estimated_duration: 600
+_description
+    Test to confirm effect of denying location access
+    1. Launch weather reboot
+        Expect to see 'location acceptance screen'
+	2. Choose 'deny'
+		Expect to see the "Cannoy determine your location", "Manually add" screen
+
+id: first-run/location-allow
+plugin: manual
+_summary: Test to confirm effect of allowing location access
+estimated_duration: 600
+_description
+    Test to confirm effect of allowing location access
+	1. Close weather app (if already open)
+	2. Launch System Settings
+	3. Choose "Security & Privacy"
+	4. Choose "Location Access"
+	5. Switch location access for weather app on
+		This reverses the location denial from the previous test
+    6. Launch weather reboot
+        Expect to _not_ see 'location acceptance screen'
+	7. Wait for a short while
+		Expect to see weather for your current location
+
+id: first-run/pull-refresh
+plugin: manual
+_summary: Test to confirm pull to refresh works
+estimated_duration: 600
+_description
+    Test to confirm pull to refresh works
+    1. Launch weather reboot
+        Expect to see weather details for current location
+	2. Pull down the screen to refresh
+		Expect to see 'Pull down to refresh' then 'Release to refresh'
+	3. Let go of the screen
+		Expect view to refresh - although you may not see any difference if the data recently refreshed
+
+
+
+
+
+

=== added file 'tests/manual/forecasts.pxu'
--- tests/manual/forecasts.pxu	1970-01-01 00:00:00 +0000
+++ tests/manual/forecasts.pxu	2015-09-29 11:36:45 +0000
@@ -0,0 +1,57 @@
+id: forecasts/test-daily-forecast
+plugin: manual
+_summary: Test to future day forecast is shown
+estimated_duration: 600
+_description
+    Test to future day forecast is shown
+    1. Launch weather app
+		Expect to see weather for your current location
+	2. Scroll up
+		Expect to see weather for at least the following 4 days
+
+id: forecasts/test-hourly-forecast-detail
+plugin: manual
+_summary: Test to ensure hourly forecast detail is shown
+estimated_duration: 600
+_description
+    Test to ensure hourly forecast detail is shown
+    1. Launch weather app
+		Expect to see weather for your current location
+	2. Tap large current weather icon (cloud/sun/rain) in the top half of the display
+		Expect to see weather for the following hours
+	3. Swipe right and left
+		Expect to see further details about the weather on coming hours
+	4. Tap in that area again
+		Expect the previously shown current weather icon to be displayed
+
+id: forecasts/test-daily-forecast-detail
+plugin: manual
+_summary: Test to ensure daily forecast detail is shown
+estimated_duration: 600
+_description
+    Test to ensure daily forecast detail is shown
+    1. Launch weather app
+		Expect to see weather for your current location
+	2. Scroll up
+		Expect to see weather for at least the following 4 days
+	3. Tap any day in the future
+		Expect to see further details about the weather on that day
+	4. Tap any other day
+		Expect the previously tapped day to shrink, and the newly tapped day to expand
+	5. Tap the same day again
+		Expect the tapped day detail to shrink
+
+id: forecasts/test-final-day
+plugin: manual
+_summary: Test to ensure UI expands properly
+estimated_duration: 600
+_description
+    Test to ensure UI expands properly
+    1. Launch weather app
+		Expect to see weather for your current location
+	2. Scroll up to the very bottom
+		Expect to see weather for at least the following 4 days
+	3. Tap the final day in the list
+		Expect it to expand, and still be on screen (i.e. not expanded off-screen)
+
+

=== added file 'tests/manual/locations.pxu'
--- tests/manual/locations.pxu	1970-01-01 00:00:00 +0000
+++ tests/manual/locations.pxu	2015-09-29 11:36:45 +0000
@@ -0,0 +1,76 @@
+id: locations/show-list-of-locations
+plugin: manual
+_summary: Test to see a list of locations
+estimated_duration: 600
+_description
+    Test to see a list of locations
+    1. Launch weather app
+		Expect to see weather for your current location
+	2. Swipe up from the bottom of the screen
+		Expect to see a list of locations (only one location on first run, or no locations if gps access denied)
+
+id: locations/add-pre-defined-location
+plugin: manual
+_summary: Test to add a location from a pre-defined list
+estimated_duration: 600
+_description
+    Test to add a location from a pre-defined list
+    1. Launch weather app
+		Expect to see weather for your current location
+	2. Swipe up from the bottom of the screen
+		Expect to see a list of locations (only one location on first run, or no locations if gps access denied)
+	3. Press "+" icon
+		Expect to see a pre-defined list of city names
+	4. Tap any city on the list
+		Expect to see it added to the list of locations
+	5. Continue to add more cities
+		There is a hard wired limit of 7 locations currently
+
+id: locations/switch-location-by-swipe
+plugin: manual
+_summary: Test to switch locations by swiping
+estimated_duration: 600
+_description
+    Test to switch locations by swiping
+    1. Launch weather app
+		Expect to see weather for your current location
+	2. Swipe left
+		Expect to switch location
+	3. Swipe right
+		Expect to switch back to previous location
+
+id: locations/switch-location-by-edge
+plugin: manual
+_summary: Test to switch locations using bottom edge
+estimated_duration: 600
+_description
+    Test to switch locations using bottom edge
+    1. Launch weather app
+		Expect to see weather for your current location
+	2. Swipe up from the bottom of the screen
+		Expect to see a list of locations
+	3. Tap a location
+		Expect to be returned to the main screen, showing weather for selected location
+
+id: locations/delete-location
+plugin: manual
+_summary: Test to remove locations
+estimated_duration: 600
+_description
+    Test to remove locations
+    1. Launch weather app
+		Expect to see weather for your current location
+	2. Swipe up from the bottom of the screen
+		Expect to see a list of locations
+	3. Swipe a location to the right
+		Expect to see a delete option
+	4. Swipe location left again
+		Expect location NOT to be deleted
+	5. Swipe a location to the right
+		Expect to see a delete option
+	6. Tap delete (trash) button
+		Expect location to be deleted
+
+
+
+

=== added file 'tests/manual/settings.pxu'
--- tests/manual/settings.pxu	1970-01-01 00:00:00 +0000
+++ tests/manual/settings.pxu	2015-09-29 11:36:45 +0000
@@ -0,0 +1,35 @@
+id: settings/change-units-temp
+plugin: manual
+_summary: Test to change temperature units
+estimated_duration: 600
+_description
+    Test to change temperature units
+    1. Launch weather app
+		Expect to see weather for your current location
+	2. Tap settings cog in top right corner
+		Expect to see a list of settings
+	3. Tap "Units"
+		Expect to see 'Units' screen
+	4. Tap "Temperature"
+		Expect to see options unfolded
+	5. Switch to different temperature units and go back to main screen
+		Expect units shown to be different
+
+id: settings/change-units-speed
+plugin: manual
+_summary: Test to change wind speed units
+estimated_duration: 600
+_description
+    Test to change wind speed units
+    1. Launch weather app
+		Expect to see weather for your current location
+	2. Tap settings cog in top right corner
+		Expect to see a list of settings
+	3. Tap "Units"
+		Expect to see 'Units' screen
+	4. Tap "Wind Speed"
+		Expect to see options unfolded
+	5. Switch to different wind speed units and go back to main screen
+		Expect wind speed units shown to be different
+
+


References