Add feature spec coverage for Work Item Start/Due Dates widget

Summary

We need to introduce a shared example feature spec for the Dates widget where it covers both create and edit flows and can be included in other specs (eg; Key Result create).

Default Date Picker With dates
image image image

Behaviours to test

  • Default state with no dates
  • Editing dates with both date pickers revealed
  • Dates set as per user preference format

Files to refer

The dates widget is only available on project level for issues. We need to add the test in following files.

Refer how other widgets are added in the work item detail files for examples.

MR for reference

Resources

  1. Get started with feature tests
  2. Gitlab Best practices for feature specs
  3. Unhealthy tests
  4. Accessibility testing
Edited by 🤖 GitLab Bot 🤖