Skip to content

Commit 4466d86

Browse files
committed
test: field with year is mandatory when month is specified
Fix #12
1 parent 10c30ce commit 4466d86

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/test/robotframework/series/creation/validation-user.robot

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@ Create series with day of month but without month
4242
Submit Form id:add-series-form
4343
Element Text Should Be id:month.errors Month must be specified
4444

45+
Create series with month but without year
46+
Click Element id:specify-issue-date-link
47+
Select From List By Value id:day 1
48+
Select From List By Value id:month 2
49+
Submit Form id:add-series-form
50+
Element Text Should Be id:year.errors Year must be specified
51+
4552
Catalog numbers should reject invalid values
4653
[Template] Invalid Catalog Numbers Should Be Rejected
4754
t

0 commit comments

Comments
 (0)