address-book-app

Differences between revisions 1 and 15 (spanning 14 versions)
Revision 1 as of 2014-01-27 21:01:48
Size: 1123
Editor: eth3
Comment:
Revision 15 as of 2015-06-01 21:51:50
Size: 5138
Editor: b3ebd2b3
Comment:
Deletions are marked like this. Additions are marked like this.
Line 18: Line 18:
  * enter the phone number 6175551212 and verify it's formatted as (617)555-1212
Line 20: Line 21:
 * Test calling a contact
 * Test messaging a contact
 * Test setting a profile picture for the contact
 * Test calling a contact from contact details
 * Test messaging a contact from contact details
 * Test setting a profile picture for the contact from contact details
 * Test favoriting/unfavoriting a contact
 * Test switching between "Favorite" view and "All" view
 * Add more than a page full of contacts such that you have to scroll, they should all have fist names that start with different letters. Then test the following:
  * click on a contact, then press back. make sure the contact is visible in the list
  * scroll the list to the top, then create a new contact with name starting with "Z". Ensure when creation complete the new contact is visible in the list.
 * Test creating a new contact from a dialer-app call log entry
 * Test adding a phone number to an existing contact from dialer-app call log entry
 * Test adding a phone number to an existing contact from a messaging-app conversation
 * Test the Contacts tab in the dialer-app and make sure you can call a contact by selecting contact from there
 * Test the Contacts tab in the dialer-app and make sure you can open a contacts details from there
 * Google Sync
  * Start with an empty address book. Verify that first time the app is run you are prompted to create a Google Account.
  * Verify after entering Google credentials you are returned to address book app automatically
  * Verify that your Google contacts are correctly displayed in the address book app.
  * Create a contact in your address book that only has a phone number. Verify it is correctly synced to Google.
 * VCard export
  * Open Gmail webapp and send a message to your desktop. Choose the attach button and select a contact from Contact app to attach
  * Send the message
  * Open the message on your desktop and download the vcard attachment
  * Open the vcard attachment in a text editor and verify that all of the fields contained in the Contact are correctly populated.
 * Test initial app state
  * From fresh flash or reset (delete all contacts and then rm -rf ~/.config/com.ubuntu.address-book), launch dialer-app
  * Enter a telephone number into the dialer
  * Press the add contact icon (on left of phone number)
  * Choose "+ Create New" option in address-book-app
  * Verify that the phone number typed into the dialer is populated in the phone field of the address-book
  * Enter contact name and save contact
  * Close dialer app and address book app
  * Launch address-book-app from apps scope or launcher
  * verify address book shows the newly created contact and doesn't display dialog asking to sync
 * Test contact search (bug #1400468 - This test is already covered by the unit-test: tests/qml/tst_ContactListModel.qml)
  * Add the following contacts:
  || Name || Phone Number||
  || Ubuntu Phone || 123-456 ||
  || Foo Bar || 456-789 ||
  || Number 13 || 789-0000 ||
  * Try to search for: "00" should return only one contact: "Number 13"
  * Try to search for: "1" should return two contacts: "Ubuntu Phone", "Number 13"
  * Try to search for: "456" should return two contacts: "Ubuntu Phone", "Foo Bar"
  * Try to search for: "Number" should return one contact: "Number 13"
 * Test multi-line field entry
  * copy some multiline text from webbrowser
  * create a new contact
  * paste the clipboard into one of the address fields for the contact
  * save the contact
  * then try to edit the contact, change some other fields
  * verify should be able to edit the contact normally and save the changes
 * Test frequent called list
  * Make sure that you have more then 5 contacts on your frequent called list
    * You need to make calls to different contacts to get the list populated
  * Make sure that you have more then 5 contacts on your favorite list
  * Open address-book-app and go to favorite list
  * Scroll the list until the first favorite contact became partially visible
  * Click on the first favorite contact
  * The list should move to a position where the clicked contact became fully visible
Line 24: Line 81:
 

* Test plan for component: address-book-app

Dependents/Clients

None

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 latest (trusty-proposed) image on phone
  • Install freshly build MPs that are needed for landing
  • Ensure that all AP tests pass on the device.
  • Test creating new contact with First Name, Last Name, phone number and email address
    • enter the phone number 6175551212 and verify it's formatted as (617)555-1212
  • Test editing contact: add additional email, additional phone number, modify existing phone number
  • Test deleting a contact
  • Test calling a contact from contact details
  • Test messaging a contact from contact details
  • Test setting a profile picture for the contact from contact details
  • Test favoriting/unfavoriting a contact
  • Test switching between "Favorite" view and "All" view
  • Add more than a page full of contacts such that you have to scroll, they should all have fist names that start with different letters. Then test the following:
    • click on a contact, then press back. make sure the contact is visible in the list
    • scroll the list to the top, then create a new contact with name starting with "Z". Ensure when creation complete the new contact is visible in the list.
  • Test creating a new contact from a dialer-app call log entry
  • Test adding a phone number to an existing contact from dialer-app call log entry
  • Test adding a phone number to an existing contact from a messaging-app conversation
  • Test the Contacts tab in the dialer-app and make sure you can call a contact by selecting contact from there
  • Test the Contacts tab in the dialer-app and make sure you can open a contacts details from there
  • Google Sync
    • Start with an empty address book. Verify that first time the app is run you are prompted to create a Google Account.
    • Verify after entering Google credentials you are returned to address book app automatically
    • Verify that your Google contacts are correctly displayed in the address book app.
    • Create a contact in your address book that only has a phone number. Verify it is correctly synced to Google.
  • VCard export
    • Open Gmail webapp and send a message to your desktop. Choose the attach button and select a contact from Contact app to attach
    • Send the message
    • Open the message on your desktop and download the vcard attachment
    • Open the vcard attachment in a text editor and verify that all of the fields contained in the Contact are correctly populated.
  • Test initial app state
    • From fresh flash or reset (delete all contacts and then rm -rf ~/.config/com.ubuntu.address-book), launch dialer-app
    • Enter a telephone number into the dialer
    • Press the add contact icon (on left of phone number)
    • Choose "+ Create New" option in address-book-app
    • Verify that the phone number typed into the dialer is populated in the phone field of the address-book
    • Enter contact name and save contact
    • Close dialer app and address book app
    • Launch address-book-app from apps scope or launcher
    • verify address book shows the newly created contact and doesn't display dialog asking to sync
  • Test contact search (bug #1400468 - This test is already covered by the unit-test: tests/qml/tst_ContactListModel.qml)

    • Add the following contacts:

      Name

      Phone Number

      Ubuntu Phone

      123-456

      Foo Bar

      456-789

      Number 13

      789-0000

    • Try to search for: "00" should return only one contact: "Number 13"
    • Try to search for: "1" should return two contacts: "Ubuntu Phone", "Number 13"
    • Try to search for: "456" should return two contacts: "Ubuntu Phone", "Foo Bar"
    • Try to search for: "Number" should return one contact: "Number 13"
  • Test multi-line field entry
    • copy some multiline text from webbrowser
    • create a new contact
    • paste the clipboard into one of the address fields for the contact
    • save the contact
    • then try to edit the contact, change some other fields
    • verify should be able to edit the contact normally and save the changes
  • Test frequent called list
    • Make sure that you have more then 5 contacts on your frequent called list
      • You need to make calls to different contacts to get the list populated
    • Make sure that you have more then 5 contacts on your favorite list
    • Open address-book-app and go to favorite list
    • Scroll the list until the first favorite contact became partially visible
    • Click on the first favorite contact
    • The list should move to a position where the clicked contact became fully visible

Process/Merges/TestPlan/address-book-app (last edited 2015-12-11 02:27:42 by 1)