AC:
We should have UI tests which cover following scenarios related to the decorations on Pages app:
- On pages app, make sure it have a column named "A/B/n test status"
- On pages app, select any page, check the AB testing decorated actions "Abort A/B/n test" and "Go to A/B/n test" is disabled.
- Setup a test that has test variants created, then we should check on Pages app:
- Should have the "No edit" icon before the page icon on the original page (Optional, not sure UI test framework can assert the icon)
- The original page has "A/B/n test status" column should be matched with the test state
- Select the original page and check these actions "Abort A/B/n test" and "Go to A/B/n test" should be enabled.
- Select the original page and make sure the action "Abort A/B/n test" works
- Select the original page and make sure the action "Go to A/B/n test" works
|