Sample Data UI sanity Manual Test

Simple test

  1. Create a new basic project with an Empty Activity

  2. Open the res/layouts/activity_main.xml file and go to the design tab

  3. Click the “Hello World” TextView element

    Expected results

    • The wrench action target displays below the TextView Wrench Option
  4. Click the wrench icon

  5. In the popup select an element other than "None"

    Expected results

    • The text displayed in the TextView changes from “Hello World” to something else
  6. Go to the Attributes Panel and click on the three dots ... next to the tools text attribute (not the regular text attribute) Tools text attribute

    Expected results

    • The resource picker displays and displays a list of elements to select. The top header reads "Sample data"
  7. Click the first element after the "Sample data" header (Usually "cities")

    Expected results

    • The right side of the resource picker displays a preview with multiple cities TextView picker list
  8. Drag a new RecyclerView item from the Palette

  9. Click on the RecyclerView element

    Expected results

    • The wrench action target displays below the RecyclerView
  10. Click the wrench icon

  11. Click the forward and back arrows and make sure that the template in the background changes RecyclerView email state

  12. Set the number of elements to different values and check that it affects the preview in the background

  13. Click the arrows again until the template says "Default" and click outside of the popup and restore the number of elements to 10

  14. Verify that the preview is back to the original state RecyclerView original state