Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-130498 Automate tests for Preview
  3. LPS-133814

Automate FormsPreview#CannotNavigateToANewPageWithoutCompletingARequiredField

    Details

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

      Description

      Test Map

       

      Test Description:
      Verify that a user cannot navigate to a new page without completing a required field

      Test Steps:

      1. Create a Form and title it "Form 1".
      2. Add a Page Title ("Page A") to Page 1
      3. Add a Text field to the form.
      4. Enable "Required Field"
      5. Add a second page
      6. Add a Page Title ("Page B") to Page 2
      7. Open the preview form
        • Assert the Page Title ("Page A")
        • Assert the text "Indicates Required Fields"
        • Click "Next"
        • Assert the error message "This field is required."
        • Input "Test" into the Text field
        • Assert the error message is no longer present
        • Click "Next"
        • Assert the Page Title ("Page B")

        Attachments

          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