-
Type:
Story
-
Status: Closed
-
Priority:
Minor
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: Master
-
Component/s: Content Page Experience Personalization
-
Labels:
-
Epic/Theme:
-
Epic Link:
-
Sprint:SP | Sprint 9 | Mar6 - Mar15, SP | Sprint 10 | Mar18 - Mar29, SP | Sprint 11 | Apr1 - Apr12
-
Git Pull Request:
Adding validation for:
- Empty name field
- An error occurred
—
Acceptance criteria:
- The UI reports an error about required Experience Title:
- Given: in the Site Editor => Page => Content Editor; Having at least on Segment created.
- When: trying to create a new experience without filling the Experience Name input
- When: trying to editing experience without filling the Experience Name input
- Then: the modal does not hides away and the Experience Name input reports an error
- Given: in the Site Editor => Page => Content Editor; Having at least on Segment created.
- The UI reports a server communication general error (there is not a straight forward way to test this manually):
- Given: in the Site Editor => Page => Content Editor; Having at least on Segment created, with a faulty edition and creation experience web service
- When: trying to create a new experience
- When: trying to edit an existing experience
- Then: the modal does not hides away and an toast error message appears at the bottom left side of the screen.
- Given: in the Site Editor => Page => Content Editor; Having at least on Segment created, with a faulty edition and creation experience web service
- The UI reports not being able to delete an experience:
- Given: in the Site Editor => Page => Content Editor; Having at least on Segment created; with a faulty experience deletion web service, and an experience created
- When: trying to delete an experience
- Then: the experience dropdown modal stays opened, an embedded alert appears in the dropdown, and the targeted experience stays there.
- When: trying to delete an experience
- Given: in the Site Editor => Page => Content Editor; Having at least on Segment created; with a faulty experience deletion web service, and an experience created
- links to