AutorÃa | Ultima modificación | Ver Log |
@core @core_adminFeature: Administrator is warned and when trying to set invalid allcountrycodes value.In order to avoid misconfiguration of the country selector fieldsAs an adminI want to be warned when I try to set an invalid country code in the allcountrycodes fieldScenario: Attempting to set allcountrycodes field with valid country codesGiven I log in as "admin"And I navigate to "Location > Location settings" in site administrationWhen I set the following administration settings values:| All country codes | CZ,BE,GB,ES |Then I should not see "Invalid country code"Scenario: Attempting to set allcountrycodes field with invalid country codeGiven I log in as "admin"And I navigate to "Location > Location settings" in site administrationWhen I set the following administration settings values:| All country codes | CZ,BE,FOOBAR,GB,ES |Then I should see "Invalid country code: FOOBAR"Scenario: Attempting to unset allcountrycodes fieldGiven I log in as "admin"And I navigate to "Location > Location settings" in site administrationAnd I set the following administration settings values:| All country codes | CZ,BE,GB,ES |And I navigate to "Location > Location settings" in site administrationWhen I set the following administration settings values:| All country codes | |Then I should not see "Invalid country code"