Details

    • Type: Technical Testing
    • Status: Closed
    • Priority: Critical
    • Resolution: Completed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Forms
    • Labels:
      None

      Description

      Test Map

       

      Test Description:
      Verify that a rule with an "Autofill" action can be previewed

       

      Test Steps:

      1. Navigate to the Control Panel → Configuration → System Settings.
      2. Click Data Providers (under Content & Data).
        • Check the Access Local Network checkbox.
        • Click Save when finished.
      3. Go to Liferay Home
      4. Click Content & Data → Forms.
      5. Click the Data Providers tab.
      6. Click the Add button and add a REST Data Provider.
      7. Navigate back to the Forms page.
      8. Create a Form and title it "Form 1".
      9. Add a Text field to the form.
      10. Change the Label to "Region"
      11. Add a Select from List field to the form.
      12. Change the Label to "Country"
      13. Change the Create List to “From Autofill”
      14. Navigate to the "Rules" tab.
      15. Add a new Rule
        • Condition:
          • If “Region” “Is not empty”
        • Actions:
          • Do “Autofill” “Countries of the World”
          • Data Provider's Output: Country
        • Click Save when finished.
      16. Navigate to the "Forms" tab
      17. Open the preview form
        • Type “Asia” in Region field
        • Click in Country field
        • Assert in the Country field the option “Afghanistan”

        Attachments

        1. exampleDataProviders.png
          exampleDataProviders.png
          35 kB
        2. exampleRules.png
          exampleRules.png
          53 kB
        3. index.html
          2 kB

          Activity

            People

            Assignee:
            brittney.nguyen Brittney Nguyen
            Reporter:
            leilany.ulisses Leilany Ulisses
            Recent user:
            Brittney Nguyen
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package