Details

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

      Description

      Test Scenario 1: Redirection settings can be accessed through the product menu

      Redirect#Smoke

      Test steps:

      1. Enable redirect
      2. Add a new site
      3. Go to Configuration > Redirect
      4. Assert the default info message shows: No redirects were found.
      5. Add a new redirection entry
      6. Assert the source URL shows like: http://localhost:8080/web/${sitename}
      7. Assert Source URL field and Destination URL field are required
      8. Assert the Type default is Permanent (301)

      Test Scenario 2: Source URL and Destination URL are both required for a redirection entry to be saved

      Redirect#Smoke
      Redirect#AddPermanentRedirect

      Test steps:

      1. Enable redirect
      2. Add a new site
      3. Add two pages on this site: Test Source Page and Test Destination Page
      4. Go to Configuration > Redirect
      5. Add a new redirection entry
      6. Type Source URL field: test-source-page
      7. Type Destination URL field: http://localhost:8080/web/site/test-destination-page
      8. Leave as the default Type: Permanent (301)
      9. Save
      10. View the added redirection entry is dispalyed correctly : Source URL and Destination URL and Type.

      Test Scenario 3: Redirection entries can be viewed from admin

      Redirect#DeleteRedirectEntries
      Redirect#AddPermanentRedirect

      Test Scenario 4: Redirection entries can be edited

      Redirect#EditRedirectEntry

      Test steps:

      1. Enable redirect
      2. Add a new site
      3. Add three pages on this site: Test Source Page, Test Destination Page and New Test Destination Page
      4. Go to Configuration > Redirect
      5. Add a new redirection entry
      6. Type Source URL field: test-source-page
      7. Type Destination URL field: http://localhost:8080/web/site/test-destination-page
      8. Leave as the default Type: Permanent (301)
      9. Save
      10. View the added redirection entry is dispalyed correctly : Source URL and Destination URL and Type.
      11. Edit the redirection entry
      12. Update the Destination URL to another page: http://localhost:8080/web/site/new-test-destination-page
      13. Assert the redirection entry is updated correctly

      Test Scenario 5: Redirection entries can be deleted

      Redirect#DeleteRedirectEntry

      Test steps:

      1. Enable redirect
      2. Add a new site
      3. Add two pages on this site: Test Source Page and Test Destination Page
      4. Go to Configuration > Redirect
      5. Add a new redirection entry
      6. Delete the redirection entry
      7. Assert the redirection entry is deleted correctly

      Redirect#DeleteRedirectEntries

      Test steps:

      1. Enable redirect
      2. Add a new site
      3. Add some pages on this site
      4. Go to Configuration > Redirect
      5. Add three new redirection entries
      6. View the added redirection entries are displayed as expected
      7. Delete two of the redirection entries by bulk delete but

        Attachments

          Activity

            People

            Assignee:
            austin.chiang Austin Chiang
            Reporter:
            yvonne.han Yvonne Han
            Recent user:
            Rubén Heras
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package