Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-96780

As a marketer, I can create a new AB test for a experience in DXP

    Details

    • Type: Story
    • Status: Closed
    • Priority: Major
    • Resolution: Discarded
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: AB Testing

      Description

      Motivation

      See epic

      Scope

      As a starting point for A/B Testing a user should be able to create an A/B Test with a name, a description and a control Experience reference. Then be able to see the A/B Tests available for that Page listed in the A/B Testing dropdown.

      Design

      • Mockup: Figma
      • Modifications with respect to the Figma (for this story only):
        • The AB test button is shown in the page edit mode, instead of in the control bar
        • The first AB test step is displayed on a modal, instead of in the right side-bar
        • The view all tests in Analytics Cloud button is not included in the AB test panel

      Acceptance Criteria

      1. The AB testing button is shown if AB testing is enabled in the system settings

      • Given a content page
      • and the AB testing system setting is enabled (System Settings > Segments > Segments Service)
      • when the edit icon is clicked
      • then the A/B test button is shown next to the experience panel

      2. The AB testing button is not shown if AB testing is disabled in the system settings

      • Given a content page
      • and the AB testing system setting is disabled
      • when the edit icon is clicked
      • then the A/B test button is not shown next to the experience panel

      3. The AB test panel contains no tests

      • Given the A/B test button and there are no tests
      • when it is clicked, 
      • then the A/B test panel is opened
      • and it shows
        • no tests
        • a help message
        • a primary button to "Create Test"

      4. The AB test panel contains tests

      • Given the A/B test button and there are tests
      • when it is clicked, 
      • then the A/B test panel is opened
      • and it shows
        • a list of tests with
          • test name
          • test status (it will be draft only for now)
        • a primary button to "Create Test"
        • ("See tests in AC" button is shown here according to the design, but this will be added in further stories)

      5. Adding a new AB test

      • Given the AB test panel is shown
      • When the "Create Test" button is clicked
      • Then a modal is opened with (required inputs marked with *, hints/placeholders/default values only where indicated):
        • Name input*. “New Test” is included as the default name to not force the user to give a name at the beginning.
        • Description text area input. Description is optional but recommended to write the starting hypothesis is being tested. 
        • a read only input for the Control Experience reference. It is already selected with the experience where the user is currently in. 
        • Save primary button
        • Cancel secondary button 
        • Close icon on the upper right corner.

      6. Saving a new test

      • Given the add new test modal is open
      • When the required information is entered (see above) and the save button is clicked
      • Then the test is created and is visible in the AB test panel with status Draft
        • In the scope of this story, Draft is the only state that AB test might have

      7. Canceling/closing a new test creation

      • Given the add new test modal is open
      • When the cancel/close button is clicked
      • Then the modal closes and the test is not created and not shown in the AB test panel
      • Since this is a provisional approach, no warning message when canceling is required here

      8. Only one test is draft status per experience allowed

      • Given an AB test was added for an experience, and the test status is Draft (this is the first state of the test)
      • When I click the AB test button and the AB test panel is shown,
      • Then an info message “A test in status draft already exists” and the "Create Test" button is disabled

      Update

      Due to the changes in the UI design, most of the acceptance criteria defined for this story are out-of-date. Therefore, no tests will be created/run for this story. Story ticket LPS-97882 overrides the scope of this story, and test will be added and run for that story.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package