Details

    • Type: Technical Testing
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Sprint:
      LIMA | #15 | Mar03-Mar24, LIMA | #16 | Mar24-Apr14
    • Test Type:

      Description

      Test Scenario 1: Redirection can be created as a temporary type

      See Redirection#AccessTemporaryEntry

      Test Scenario 2: Redirection can be created as a permanent type.

      See Redirection#AccessPermanentEntry

      Test Scenario 3: A user will be redirected to the target URL of a permanent redirection

      Redirection#AccessPermanentEntry

      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 permanent redirection entry
        1. Type Source URL field: test-source-page
        2. Type Destination URL field: http://localhost:8080/web/site/test-destination-page
        3. Select temporary type
      6. Assert redirects to the destination URL(http://localhost:8080/web/site/test-destination-page) when the user visits source URL(http://localhost:8080/web/site/test-source-page)
      7. Assert return 302 status code

      Test Scenario 4: A user will be redirected to the target URL of a temporary redirection

      Redirection#AccessTemporaryEntry

      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 permanent redirection entry
        1. Type Source URL field: test-source-page
        2. Type Destination URL field: http://localhost:8080/web/site/test-destination-page
        3. Select permanent type
      6. Assert redirects to the destination URL(http://localhost:8080/web/site/test-destination-page) when the user visits source URL(http://localhost:8080/web/site/test-source-page)
      7. Assert return 301 status code

      Test Scenario 5: The user will be redirected to the cached target URL of a permanent redirection after it is updated.

      Redirect#AccessPermanentEntryAfterEdit

      Test steps:

      1. Enable redirect
      2. Add a new site
      3. Add three pages on this site: Test Source Page/Test Destination Page/Test New Destination Page
      4. Go to Configuration > Redirect
      5. Add a new permanent redirection entry
        1. Type Source URL field: test-source-page
        2. Type Destination URL field: http://localhost:8080/web/site/test-destination-page
        3. Select permanent type
        4. Save
      6. Edit the redirects destination URL to (http://localhost:8080/web/site/test-new-destination-page) > Save
      7. Assert redirects to the previous destination URL(http://localhost:8080/web/site/test-destination-page) when the user visits source URL(http://localhost:8080/web/site/test-source-page)

      Test Scenario 6: The user will be redirected to the latest target URL of a temporary redirection after it is updated

      Redirect#AccessTemporaryEntryAfterEdit

      Test steps:

      1. Enable redirect
      2. Add a new site
      3. Add three pages on this site: Test Source Page/Test Destination Page/Test New Destination Page
      4. Go to Configuration > Redirect
      5. Add a new temporary redirection entry
        1. Type Source URL field: test-source-page
        2. Type Destination URL field: http://localhost:8080/web/site/test-destination-page
        3. Select temporary type
        4. Save
      6. Edit the redirects destination URL to (http://localhost:8080/web/site/test-new-destination-page) > Save
      7. Assert redirects to the new destination URL(http://localhost:8080/web/site/test-destination-page) when the user visits source URL(http://localhost:8080/web/site/test-source-page)

        Attachments

          Activity

            People

            Assignee:
            austin.chiang Austin Chiang
            Reporter:
            jeremy.chen Jeremy Chen
            Recent user:
            Jeremy Chen
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package