Skip to content

Commit 65f4635

Browse files
committed
Add integration test for testing that it's impossible to create country with name that differs only by case.
Fix #447
1 parent 1ab8a13 commit 65f4635

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

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

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

67+
Create country 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 italy
70+
Input Text id=nameRu италия
71+
Submit Form id=add-country-form
72+
Element Text Should Be id=name.errors Country already exists
73+
Element Text Should Be id=nameRu.errors Country already exists
74+
6775
*** Keywords ***
6876
Before Test Suite
6977
[Documentation] Login as admin and go to create country page

0 commit comments

Comments
 (0)