Skip to content

Commit 1bbf1a5

Browse files
committed
MAGETWO-64557: User can change the Interface Locale only to locales that are already deployed
1 parent 5304de8 commit 1bbf1a5

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

dev/tests/functional/tests/app/Magento/Backend/Test/Constraint/AssertInterfaceLocaleAvailableOptions.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
*/
1414
class AssertInterfaceLocaleAvailableOptions extends AbstractConstraint
1515
{
16+
/* tags */
17+
const SEVERITY = 'middle';
18+
/* end tags */
1619
/**
1720
* Assert that Interface Locale field has correct options depends on magento mode.
1821
*

dev/tests/functional/tests/app/Magento/Backend/Test/TestCase/VerifyInterfaceLocaleTest.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@
1414
/**
1515
* Verify that Interface Locales has correct options on Account Settings and User Edit pages.
1616
*
17+
* Steps:
18+
* 1. Log in to backend.
19+
* 2. Navigate to "Account Setting" page.
20+
* 3. Perform interface locales asserts depends on magento mode.
21+
* 4. Navigate to "User Edit Page".
22+
* 5. Perform interface locales asserts depends on magento mode.
23+
*
1724
* @ZephyrId MAGETWO-64920, MAGETWO-64921
1825
*/
1926
class VerifyInterfaceLocaleTest extends Injectable

0 commit comments

Comments
 (0)