ubuntu-system-settings

Differences between revisions 76 and 77
Revision 76 as of 2015-04-10 07:46:28
Size: 31056
Editor: alextu
Comment:
Revision 77 as of 2015-04-15 15:51:32
Size: 31256
Editor: seb128
Comment:
Deletions are marked like this. Additions are marked like this.
Line 578: Line 578:
 1. Open the battery panel, check the info, switch to dash (or another software), change the device state (charge level, plug/unplugged, ...), focus back settings, the informations should be current

Dependents/Clients

None

Test Plan

This test plan is not supposed to be complete; use it to guide your manual testing so they don't 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 image on phone
  • Install freshly build MPs that are needed for landing
  • Go through the test cases for the panel you changed (under Suggested test cases) and also do some exploratory testing on the same panel and the general system settings application.
  • Ensure that all AP tests running "phablet-test-run ubuntu_system_settings" (needs ubuntu-system-settings-autopilot to be installed) are passing.

Suggested Test Cases

These are some test cases that should be run prior to landing, grouped by the individual panel. Some of these will be automated in autopilot and some will be manual (depending on the difficulty of automating and bandwidth to do that activity). For automated test cases all test cases must be run for each landing. For manual tests, you may exercise your judgement. Err on the side of caution though - if you just touch the UI of one panel then just run that panels test cases. If you touch shared code then run all the tests.

General

Sections listed in correct order (manual)

1. Make sure sections are in the correct order, alphabetical from top to bottom. Network first, then Personal etc, with Orientation Lock and Flight Mode at the top and About this phone and Reset phone at the bottom.

Search for panel name (automated)

  1. Open the search bar.
  2. Enter the text 'Sound'
  3. Ensure that only the 'Sound' panel is listed and that it's under the 'Personal' section.

Search for panel name that matches multiple panels (manual)

  1. Open the search bar.
  2. Enter the text 'at'
  3. Ensure that the 'Battery', 'Date & Time' and 'Updates' panels are shown under 'System'.

Flight Mode

Activate Flight Mode

  1. Enable the flight mode switch.
  2. Open the network indicator and check that Wi-Fi is disabled.
  3. Check that all SIM slots indicate 'Offline' (this may take a little while)
  4. Open the Wi-Fi Panel and check that Wi-Fi is disabled there.

De-activate Flight Mode

This test requires that flight mode has already been enabled.

  1. Disable the flight mode switch
  2. Open the network indicator and check that Wi-Fi is enabled.
  3. Check that all SIM slots indicate 'Searching' and eventually show the operator name
  4. Open the Wi-Fi panel and check that Wi-Fi is enabled there.

Wi-Fi

These cases require that there are wireless networks in range. If you want to run those on desktop then you need to run

initctl start indicator-network

to activate the DBus service required.

Networks listed when on (manual)

  1. Ensure that the Wi-Fi toggle switch is on.
  2. Make sure that some wireless networks are shown in the UI.

Networks not listed when off (manual)

  1. Ensure that the Wi-Fi toggle switch is off.
  2. Confirm that no wireless networks are shown in the UI.
  3. Confirm that the Previous networks item is still shown

Forget Network (manual)

  1. Connect to a Wi-Fi network
  2. Select "Previous networks"
  3. Verify that the network you connected to is listed on the page
  4. Select that network
  5. Verify that 'Network details' page is shown and that:
    • Name field matches the name of the network
    • Last connected shows the current date
    • If the network is password protected there is a Password field and a 'Show password' toggle
    • Toggling 'Show password' shows the correct password for the network
  6. Press "Forget network"
  7. Verify that the device is disconnected from the network
  8. Select "Previous networks"
  9. Verify that the network is not shown in the list anymore

Connect to hidden Network (manual)

  1. Select 'Connect to hidden network…'
  2. Enter the SSID and correct password for the network
  3. Toggle 'Password visible' and ensure the password is revealed
  4. Select 'Connect'
  5. Verify that the device connects to the network

(DISABLED) Start a hotspot (manual)

  1. Select 'Wi-Fi hotspot' (currently under cellular settings)
  2. Enter a sufficiently long WPA key
  3. Enable hotspot with the switch
  4. On a different device, scan the network, see that the hotspot is on, join it, transfer data over it
  5. Disable hotspot with the switch
  6. Verify on other device that the network has disappeared
  7. Switch hotspot back on, verify it is on
  8. Switch hotspot back off, verify it is off

Cellular (Single SIM)

These tests require that the device has a SIM card inserted of a provider that is in the providers database (get a reference). You also need the ofono-scripts package.

Cellular data full (automated)

  1. Enable 'Cellular Data'
  2. Select the '2G/3G (faster)' option from the list of options under 'Connection Type'
  3. Wait for one minute.
  4. Ensure that the cellular data connection is activated and shows 'H' or '3G'

Cellular data off (manual)

  1. Disable 'Cellular Data'
  2. Ensure that the cellular data connection is deactivated.

2G data only (automated)

  1. Enable 'Cellular Data'
  2. In the 'Connection Type' section select '2G only (saves battery)'.
  3. Wait for one minute
  4. Ensure that the cellular data connection is activated and shows 'E' or '2G'

Data roaming on (automated)

  1. Ensure that the data roaming toggle is turned on.
  2. Check that data roaming is turned on in the phone hardware by running  $ /usr/share/ofono/scripts/list-modems  and checking that RoamingAllowed is true

Data roaming off (manual)

  1. Ensure that the data roaming toggle is turned off.
  2. Check that data roaming is turned off in the phone hardware by running  $ /usr/share/ofono/scripts/list-modems  and checking that RoamingAllowed is false

Choose carrier manually (manual)

  1. Click on 'Carrier'
  2. Click on 'Carrier'
  3. Wait for the search to complete.
  4. Choose a carrier from the list.
  5. Wait one minute for registration.
  6. Confirm that the chosen carrier is selected

Choose carrier automatically (manual)

  1. Click on 'Carrier'
  2. Click on 'Carrier'
  3. Select 'Automatically' under 'Choose carrier'.
  4. Check that the expected carrier is shown besides 'Automatic'.

Other carriers shown (automated)

This test requires that mock carriers have been created in ofono, called 'fake.tel' and 'my.cool.telco'.

  1. Click on 'Carrier' and 'Carrier' to get a list of carriers to choose from
  2. Check that 'my.cool.telco' is shown.

Edit APN

As of our platform was not able to handle more than 1 MMS APN, here is the logic of the editor:

- it will always create a custom internet APN if none exists for the system - ofono provisioning might add Internet APN's that are also used for MMS - When user switches between Internet APNs, NetworkManager is told to activate the selected APN through ofonoActivator::activate()

- as the system was only able to handle one MMS APN, custom MMS APN is only created if user explicitly configures one

  • - if there is a provisioned MMS APN it will get removed and one custom one created

- Any configured MMS APN (both custom and provisioned) will be removed if user activates a dual Internet APN with MMS capability

Note: in order to access the APN page of a SIM, mobile broadband must have been enabled for that particular SIM in the Cellular Page.

Mimicking failed provisioning

The primary use case for the APN editor is to enable the user to fix a situation where ofono provisioning failed for their SIM card and they can't get mobile broadband connection. To mimic this situation, do:

  1. log in with phablet-shell
  2. $ sudo su -
  3. # cd /var/lib/ofono/
    • - under this diectory you see subdirectories {imsi} {imsi}-1...
  4. # stop ofono
  5. edit (every) {imsi}/gprs
  6. remove all of the contexts that have Type=mms
  7. remove all but one contexts that have Type=internet
  8. on the last remaining internet context modify the AccessPointName and make it invalid (by prepending "broken.")

  9. # start ofono Note: If you have a krillin device, you need to set env vars to start ofono. $ sudo service ofono start OFONO_RIL_DEVICE=mtk OFONO_RIL_NUM_SIM_SLOTS=2

Internet:

  1. Open APN page
  2. Select "Custom" from the Internet APN list
  3. Verify that you are directed to custom APN editor
  4. Enter data to the fields
  5. Hit "Activate"
  6. Verify that the custom APN editor closes
  7. Click on "Custom Internet APN..." button
  8. Verify that you data you entered is available for modifications

MMS:

Do the same as above, but just s/Internet/MMS/g

Manual Verification:

  1. log in with phablet-shell
  2. execute /usr/share/ofono/scripts/list-contexts
  3. verify that the data in custom contexts matches the data you entered to the editor

Cellular (Dual SIM)

These tests require that the device has two SIM card inserted of a provider that is in the providers database (get a reference). You also need the ofono-scripts package.

Cellular data full (manual)

Repeat this test for both SIM cards.

  1. Click a SIM card item, identifiable by its name and number (or IMSI), under 'Cellular Data'
  2. Select '2G/3G/4G' from the list of options under 'Connection type'
  3. Wait for one minute.
  4. Ensure that the cellular data connection is activated.

Cellular data off (manual)

  1. Select 'Off' from the list of options under 'Cellular Data'
  2. Ensure that the cellular data connection is deactivated.

2G data only (manual)

Repeat this test for both SIM cards.

  1. Click a SIM card item, identifiable by its name and number (or IMSI), under 'Cellular Data'
  2. In the 'Connection type' section select '2G only (saves battery)'.
  3. Query the phone hardware to make sure only 2G data is on by running $ /usr/share/ofono/scripts/get-tech-preference

Data roaming on (manual)

  1. Ensure that the data roaming toggle is turned on.
  2. Check that data roaming is turned on in the phone hardware by running $ /usr/share/ofono/scripts/list-modems # and checking that RoamingAllowed is true

Data roaming off (manual)

  1. Ensure that the data roaming toggle is turned off.
  2. Check that data roaming is turned off in the phone hardware by running $ /usr/share/ofono/scripts/list-modems # and checking that RoamingAllowed is true

Choose carrier manually (manual)

Repeat this test for both SIM cards.

  1. Click on 'Carriers' to get the list of SIM cards and their respective carriers
  2. Click a SIM card item, identifiable by its name and number (or IMSI)
  3. Wait for the search to complete.
  4. Choose a carrier from the list.
  5. Confirm that the chosen carrier is selected.

Choose carrier automatically (manual)

Repeat this test for both SIM cards.

  1. Select 'Automatically' under 'Choose carrier'.
  2. Check that the expected carrier is shown besides 'Automatically'.

Other carriers shown (automated)

Repeat this test for both SIM cards.

This test requires that mock carriers have been created in ofono, called 'fake.tel' and 'my.cool.telco'.

  1. Click on 'Carrier' to get a list of carriers to choose from
  2. Check that 'my.cool.telco' is shown.

Edit SIM name

Repeat this test for both SIM cards.

  1. Run $ gsettings monitor com.ubuntu.phone
  2. Click a SIM card item, identifiable by its name, under 'Edit SIM Name'
  3. Type in 'foo' and click 'OK'
  4. Verify that the SIM name was changed by looking at gsettings monitor's output

The ouput should look simething like this:

sim-names: {'/ril_0': 'SIM 1', '/ril_1': 'foo'}

Change default SIM for calls

Repeat this test for both SIM cards.

  1. Run $ gsettings monitor com.ubuntu.phone
  2. Click a SIM card item, identifiable by its name and number (or IMSI), under 'For outgoing calls, use:'
  3. Verify that the SIM name was changed by looking at gsettings monitor's output

The ouput should look simething like this:

default-sim-for-calls: '/ril_1'

Change default SIM for messages

Repeat this test for both SIM cards.

  1. Run $ gsettings monitor com.ubuntu.phone
  2. Click a SIM card item, identifiable by its name and number (or IMSI), under under 'For messages, use:'
  3. Verify that the SIM name was changed by looking at gsettings monitor's output

The ouput should look simething like this:

default-sim-for-messages: '/ril_1'N

Edit APN

Same as for Single SIM.

Bluetooth

Bluetooth on (manual)

  1. Ensure the Bluetooth toggle is on.
  2. Check that the Bluetooth indicator icon is shown.
  3. Check that the 'Connect a device' field indicates scanning is happening.

Bluetooth off (manual)

  1. Ensure the Bluetooth toggle is off.
  2. Check that the Bluetooth indicator icon is not shown.
  3. Check that the 'Connect a device' field indicates scanning is not happening.

Bluetooth discovery

  1. Ensure the Bluetooth toggle is on.
  2. Wait 10 seconds, ensure a spinner appears next to "Connect a device:" (or "Connect another device:"), and that it stops within 10 seconds.
  3. Ensure devices in range that are set to visible show up in the list under "Connect a device:"
  4. Turn Bluetooth off.
  5. Ensure the spinner next to "Connect a device" stops if it is running.
  6. Ensure the spinner does not restart while Bluetooth is Off.
  7. Turn Bluetooth On.
  8. Ensure the spinner starts spinning again within 10 seconds.

Device type icons

This test requires the new icons from the suru-icon-theme package.

  1. Verify that discovered devices show an icon representing the type of the device.

Bluetooth discoverability

  1. Ensure bluetooth is On, then close the Bluetooth page.
  2. Open the Bluetooth settings page
  3. Ensure it initially reads "Not discoverable" on the second item line, with a spinner.
  4. Ensure the text changes to "Discoverable" and the name of the device instead of a spinner, within 2 seconds.
  5. Turn Bluetooth off.
  6. Ensure the text reverts to "Not discoverable", with NO spinner.

Bluetooth discoverability (radio)

  1. Ensure the Bluetooth toggle is on.
  2. Before starting System Settings, make sure the device is not visible by scanning with another device.
  3. Open System Settings and also verify that the device is still not visible.
  4. Open the Bluetooth screen, and verify that the device is now visible for others (should say 'Discoverable').
  5. Move back to the main system settings page, and verify that the device is not visible anymore.
  6. Repeat the same procedure, but instead of moving back to the main system settings page, just move it to the background and make sure the device is not visible after 3 seconds.
  7. Repeat the same procedure, but instead of moving back to the main system settings page, close system-settings (from the bluetooth screen), and make sure the device is not visible after 180 seconds.

Pair a Headset (manual)

This test requires that a Bluetooth headset is available and has had its pairing mode enabled. The Bluetooth toggle should also be on.

  1. Wait for the headset to appear in the list of available devices.
  2. Click on the headset entry in the list.
  3. Eventually, the chosen headset should be shown under 'Connected Headsets'.
  4. Ensure that a new section titled 'Connect a different headset' is shown, as well as an activity spinner to indicate that more headsets are being searched for.

Other devices

This test requires the use of a bluetooth mouse or keyboard or Android/iOS phone.

  1. Ensure other bluetooth device is set to be visible / is in pairing mode.
  2. Wait for the device to appear in the list under "Connect a device:" or "Connect another device:".
  3. Ensure the device is greyed out and cannot be clicked.

Device page

This test requires a bluetooth headset to have already been paired and connected.

  1. Click the arrow beside the device name, which can be found under the "Connected devices:" list.
  2. Ensure a new page opens, that it reads the Name, Type, Status, Signal Strength or the device.
  3. Ensure the "Connect automatically when detected" switch is checked.
  4. Ensure there is a "Disconnect" button and a "Forget this device" button, and that both are sensitive.

Disconnecting a device

This test builds on the previous "Device page" test.

  1. Ensure a device is connected.
  2. Open the device page, by clicking the arrow next to the device name.
  3. Click the "Disconnect" button.
  4. Verify that you are sent back to the list of devices and that the selected device moves to the "Connect automatically when detected:" list.

Forgetting a device

  1. Click on a device, to go to the device page.
  2. Click the "Forget this device" button. Ensure the device is disconnected, and disappears from the "Connected devices" list.

Background

Set welcome screen background from Ubuntu Art (manual)

  1. Select one of the options from the 'Ubuntu Art' section.
  2. On the preview screen select 'Set'.
  3. Check that the wallpaper has been set to the selected image.

This test requires that an image is stored on the phone and viewable in the gallery application.

  1. Expand the 'Custom' selector and select 'Add an image...'
  2. Choose 'Gallery' from the list of applications.
  3. Select an image from the gallery.
  4. Click the check in the header.
  5. Confirm that the chosen image is shown in the 'Preview'.
  6. Click 'Set'.
  7. Confirm that the wallpaper has been set to the same image that was selected.

Set welcome screen background from camera (manual)

  1. Expand the 'Custom' selector and select 'Add an image...'
  2. Choose 'Camera' from the list of applications.
  3. Snap a photo and click the check near the bottom of the screen.
  4. Confirm that the chosen image is shown in the 'Preview'.
  5. Click 'Set'.
  6. Confirm that the wallpaper has been set to the same image that was selected.

Cancel from Preview (manual)

  1. Select one of the options from the 'Ubuntu Art' section.
  2. On the Preview screen select 'Remove'.
  3. Confirm that the wallpaper has not been set to the selected image.

Sound

Silent Mode

N.B. As an alternative to making an actual call, you can go into the 'Ringtones' screen and click on a ringtone to play - if silent mode is active then no sound will play.

1. Enable 'Silent Mode' 1. Make a call to the device and confirm that the ringtone does not play 1. Disable 'Silent Mode' 1. Make a call to the device and confirm that the ringtone does play

Ringer Volume

N.B. As an alternative to making an actual call, you can go into the 'Ringtones' screen and click on a ringtone to play - the volume should be reflected here.

  1. Set the volume all the way up and make a call to the device.
  2. Confirm that the sound emitted is loud (subjective!)
  3. Set the volume all the way down and make a call to the device.
  4. Confirm that no sound is emitted.
  5. Set the volume in the middle and make a call to the device.
  6. Confirm that the sound can be heard, but is not louder than in the first step.

Ringtone Selection

  1. Under 'Phone Calls' open 'Ringtone'.
  2. Confirm that the list of ringtones looks sensible (about 20 ringtones should be present and in alphabetical order.
  3. Click on a ringtone.
  4. Confirm that the ringtone starts playing.
  5. Click on the back button.
  6. Make a phone call to the device and confirm that the same ringtone is played.

Ringtone Stop Playing

  1. Under 'Phone Calls' open 'Ringtone'.
  2. Click on a ringtone.
  3. Confirm that the ringtone starts playing.
  4. Immediately press the 'Stop Playing' button.
  5. Confirm that the ringtone stops playing immediately.

Message Received Tone

  1. Under 'Messages' open 'Message received'.
  2. Confirm that the list looks reasonable and is listed in alphabetical order.
  3. Click on a tone.
  4. Confirm that it plays.
  5. Send a message to the device and confirm that the same sound is played.

Keyboard Sound

  1. Set the Keyboard sound toggle to On.
  2. Open the keyboard (e.g. by clicking in System Settings search bar) and type.
  3. Confirm that a sound is heard on each keypress.
  4. Set the Keyboard sound toggle to Off.
  5. Open the keyboard and type.
  6. Confirm that no sound is heard each time a key is pressed.

Other vibrations

Test that disabling other vibrations work. Other vibrations covers all vibrations except for those relating to phone calls and messages.

  1. Enable 'Other vibrations'.
  2. Go to the dash and click on an application.
  3. Confirm that the click produced haptic feedback.
  4. Disable 'Other vibrations'
  5. Go to the dash and click on an application.
  6. Confirm that the click did not produce haptic feedback.

Language & Text

Display Language

  1. Click on 'Display...'
  2. Choose 'français (France)' from the list.
  3. Confirm that the button and heading text changes, then click 'Confirmer'
  4. Confirm that all text appears to be in French apart from the word 'English' next to 'Agencements du clavier'
  5. Click on 'Afficher la langu...'
  6. Choose 'English (United States)' from the list.
  7. Click on 'Confirm'.
  8. Confirm that all text is in English again.

Keyboard Layout

  1. Click on 'Keyboard layouts'

Spell checking

Auto completion

Word Suggestions

Auto capitalisation

Keyboard sound

Keyboard sound sync with Sound panel

Reset Phone

Reset Launcher

  1. Add or change the pinned favorites on the launcher
  2. Verify "Reset Phone" is shown at the bottom of the main settings page
  3. Select "Reset Phone", you'll see two buttons
  4. Select "Reset Launcher", verify you see a confirmation dialog. Including a message informing resetting the launcher requires a restart of the device.
  5. Confirm the reset and reboot the device with the power switch
  6. After restart, confirm the favorites on the launcher do not include your changes

Erase and Reset Everything

  1. Select "Erase & Reset Everything" from the Reset panel

  2. Verify you see the dialog containing a warning that all data on the device will be permanently lost
  3. Confirm the reset by selecting "Erase & Reset Everything" in the dialog, verify the device reboots and resets to the default image

Battery

  1. Confirm charging state changes when connecting/disconnecting the charger
  2. Open the battery panel, check the info, switch to dash (or another software), change the device state (charge level, plug/unplugged, ...), focus back settings, the informations should be current

Brightness

Phone (Single SIM)

Prior to running these tests there should be a SIM card inserted in the device.

CALL WAITING

  1. Get a shell on the device, using phablet-shell or whatever preferred method is.
  2. Run /usr/share/ofono/scripts/monitor-ofono and watch the output as you peform the following steps
  3. Select "Call waiting" from the phone panel, toggle the switch while watching the output from monitor-ofono. It should look something like this:

 {CallSettings} [/ril_0] VoiceCallWaiting = disabled
 {CallSettings} [/ril_0] VoiceCallWaiting = enabled

Phone (Dual SIM)

Prior to running these tests there should be two SIM cards inserted in the device.

Enable call forwarding

Repeat this test for both SIM cards.

  1. Click 'Call forwarding' under a SIM card item, identifiable by its name and number (or IMSI)
  2. Check 'Call forwarding', type in 41444424 and click 'Set'

Enable call waiting

Repeat this test for both SIM cards.

  1. Click 'Call waiting' under a SIM card item, identifiable by its name and number (or IMSI)
  2. Check 'Call waiting'

Time & Date

Security & Privacy

Swipe Lock

  1. Click on 'Phone Locking'
  2. Click on 'Lock Security'
  3. Select 'Swipe (no security)'
  4. Press the power button to lock the screen and again to unlock
  5. Swipe the greeter away and confirm that no passphrase or PIN was requested

PIN Lock

  1. Click on 'Phone Locking'
  2. Click on 'Lock Security'
  3. Select '4-digit PIN code'
  4. Enter and confirm a 4-digit PIN
  5. Press the power button to lock the screen and again to unlock
  6. Swipe the greeter away and confirm that a PIN is requested (number pad appears)
  7. Enter the PIN you chose and confirm that the screen is unlocked when the last character is entered
  8. Press the power button to lock the screen and again to unlock
  9. Enter an incorrect 4-digit PIN and confirm that the 'Sorry, incorrect passcode' message is displayed

SIM Unlock (Single SIM)

  1. Ensure SIM is locked
  2. Click on 'SIM Pin'
  3. Click on 'Unlock'
  4. Enter PIN
  5. Confirm that 'Unlock' button changes to 'Change PIN' and text 'Locked' to 'Unlocked'

SIM Unlock (Multi SIM)

Repeat above test for all SIMs.

Location

utopic
  1. Navigate to the Location sub-page
  2. Verify that switching Location detection selector to "Not at all" is reflected in the Location indicator, and vice-versa
  3. Install the "Google Maps" webapp from the click store
  4. Start "Google Maps" and allow access to your location
  5. Go back to USS > Privacy > Location and verify that "Google Maps" is listed and the enable switch is ON

  6. Verify there is not a "Using GPS, anonymized Wi-Fi and cellular network info" item in the selector
  7. Switch off location access for Google Maps; kill the app and restart it; verify that it can't obtain your location anymore; switch back on, restart the app, verify that it has location access again, and that the settings switch reflects that correctly

14.09
  1. Navigate to the Location sub-page
  2. Verify that switching Location detection selector to "Not at all" is reflected in the Location indicator, and vice-versa
  3. Start the "HERE" webapp and allow access to your location
  4. Go back to USS > Privacy > Location and verify that "HERE" is listed and the enable switch is ON

  5. Verify there is a "Using GPS, anonymized Wi-Fi and cellular network info" item in the selector

Updates

To effectly test updates, you need to first install older versions of click packages. You can download older versions of clicks that were published in the store from a mirror of the click store

You can see a list of currently installed clicks with "click list". Then browse the mirror by date for to find older versions of a few clicks you already have installed. Download the click package to your device and install with "pkcon install-local somefile.click"

Updated apps can still be launched

  1. Install an older version of some application following the directions above
  2. Navigate to the Updates page
  3. Update that app to the latest version in the store
  4. Verify you see download statistics while downloading and the status updates from "Downloading" to "Installing" and ultimately the update is removed from the list.
  5. Verify that the app can still be launched from the apps scope

Connectivity

  1. Launch system-settings
  2. Enable flight mode either from the indicator or in settings
  3. Open the Updates panel in settings
  4. You should see a "Retry" button and a message "Connect to the Internet to check for updates"
  5. Using the network indicator, disable flight mode
  6. Verify the updates page starts checking for updates when the device connects to the network

Check Hash

  1. Setup the URL_APPS environment variable with 'initctl set-env --global URL_APPS=http://localhost:8000/iteminfo/'

  2. Execute the Python script located at lp:ubuntu-system-settings/tests/autopilot/ubuntu_system_settings/utils/mock_update_click_server.py
  3. Open the Updates panel in settings
  4. An update for the Calculator should appear
  5. Click the update button
  6. The download should finish and the installation should fail because of the wrong hash

About this phone

Wi-Fi address

  1. Open "About this phone"
  2. Check that the value of "Wi-Fi address" corresponds to $ ifconfig|grep wlan0

Wizard

The ideal way to test the wizard after installing the test package is to reset the device, but if this is not possible you can run phablet-config welcome-wizard --enable and restart lightdm.

Run Wizard with a SIM card

Prior to running this test there should be a SIM card inserted in the device.

  1. Launch the wizard
  2. Confirm that languages are displayed in the language selection list and press next to continue.
  3. Enter wireless network details and confirm the network is connected.
  4. Click Finish.
  5. Go through the gestures tutorial and open an application to check does the keyboard launch.

Run Wizard without a SIM card

Prior to running this test there should be no SIM card inserted in the device.

  1. Launch the wizard
  2. Confirm that languages are displayed in the language selection list and press next to continue.
  3. Enter wireless network details and confirm the network is connected.
  4. Click Finish.
  5. Go through the gestures tutorial and open an application to check does the keyboard launch.

Run Wizard and test passcode type

  1. Launch the startup wizard and select 4-digit passcode as security mechanism
  2. when asked to confirm the passcode, quickly type it again.
  3. finish setup
  4. Lock screen and confirm you are prompted to enter the 4-digit passcode to unlock instead of a password

Storage

The "Total storage" size should be the sum of each part.

Process/Merges/TestPlan/ubuntu-system-settings (last edited 2017-03-23 13:41:15 by jonas-drange)