ita-social-projects / ita-social-projects/StreetCode
[Admin] Verify that valid data can be entered in field 'Роки' in the format 'Дата місяць рік'
- Dominant language
- C#
- Stars
- 27
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
**Priority:** high
**Preconditions**
1. Go to the site.
2. Login as admin.
3. Click 'Новий стріткод'.
4. After entering dates (manually or in calendar) it safes in the field by clicking anywhere on page/pressing Enter/clicking on this date on calendar.
**Description:**
Verify that valid data can be entered manually in a field 'Роки' in the format 'Дата місяць рік' and automatically marked in the calendar.
**Steps to reproduce**
1. Enter the next data
| № | Date 1 | Date 2 | Expected result | Pass/Fail |
|--------|--------|--------|--------|--------|
| 1 | 1 січня 1750 | 31 грудня 1800 | Dates entered | Fail |
| 2 | 31 березня 1900 | 30 листопада 1950 | Dates entered | Pass |
| 3 | 15 квітня 1950 | 1 жовтня 2000 | Dates entered | Pass |
| 4 | 1 травня 1200 | 30 вересня 1299 | Dates entered | Pass |
| 5 | 30 червня 1001 | 1 серпня 1099 | Dates entered | Pass |
| 6 | 1 липня 2000 | 31 липня 2099 | Dates entered | Pass |
| 7 | 28 лютого 1801 | " " | Dates entered | Fail |
**Expected result**
Field 'Роки' is filled. After entering the rest mandatory fields new StreetCode is published with valid data.
**User story:** #115
**Related bug:** #414, #416, #538
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.