Skip to content

Commit 1ab8a13

Browse files
committed
Add integration test for testing that it's impossible to create category with name that differs only by case.
Fix #446
1 parent 416ae7a commit 1ab8a13

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/test/robotframework/category/creation/validation.robot

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,14 @@ Create category with existing name
6464
Element Text Should Be id=name.errors Category already exists
6565
Element Text Should Be id=nameRu.errors Category already exists
6666

67+
Create category with existing name but in a different case
68+
[Documentation] Verify that validation of non-unique name is case insensitive
69+
Input Text id=name sport
70+
Input Text id=nameRu спорт
71+
Submit Form id=add-category-form
72+
Element Text Should Be id=name.errors Category already exists
73+
Element Text Should Be id=nameRu.errors Category already exists
74+
6775
*** Keywords ***
6876
Before Test Suite
6977
[Documentation] Login as admin and go to create category page

0 commit comments

Comments
 (0)