|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<!-- |
| 3 | + /** |
| 4 | + * Copyright © Magento, Inc. All rights reserved. |
| 5 | + * See COPYING.txt for license details. |
| 6 | + */ |
| 7 | +--> |
| 8 | + |
| 9 | +<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd"> |
| 10 | + <test name="AdminConfigSaveEmptySettingsTest"> |
| 11 | + <annotations> |
| 12 | + <features value="Configuration"/> |
| 13 | + <stories value="Save settings 'Access Token Expiration'."/> |
| 14 | + <title value="Save settings 'Access Token Expiration' with empty values."/> |
| 15 | + <description value="Save settings 'Customer Token Lifetime' and 'Admin Token Lifetime' with empty values without validations."/> |
| 16 | + <severity value="AVERAGE"/> |
| 17 | + <testCaseId value="MC-37382"/> |
| 18 | + <group value="configuration"/> |
| 19 | + </annotations> |
| 20 | + <before> |
| 21 | + <actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/> |
| 22 | + </before> |
| 23 | + <after> |
| 24 | + <actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/> |
| 25 | + </after> |
| 26 | + <amOnPage url="{{AdminConfigServicesOauthPage.url}}" stepKey="navigateToConfigurationPage"/> |
| 27 | + <waitForPageLoad stepKey="waitForPageLoad"/> |
| 28 | + <conditionalClick selector="{{AdminConfigAccessTokenExpirationSection.tabAccessTokenLifetime}}" dependentSelector="{{AdminConfigAccessTokenExpirationSection.CheckIfTabExpand}}" visible="true" stepKey="expandTab"/> |
| 29 | + <waitForAjaxLoad stepKey="waitForAjax"/> |
| 30 | + <uncheckOption selector="{{AdminConfigAccessTokenExpirationSection.systemValueForTokenLifetime}}" stepKey="uncheckUseSystemValue"/> |
| 31 | + <fillField selector="{{AdminConfigAccessTokenExpirationSection.valueForTokenLifetime}}" userInput="" stepKey="valueForTokenLifetime"/> |
| 32 | + <uncheckOption selector="{{AdminConfigAccessTokenExpirationSection.systemValueForTokenLifetimeAdmin}}" stepKey="uncheckUseSystemValueAdmin"/> |
| 33 | + <fillField selector="{{AdminConfigAccessTokenExpirationSection.valueForTokenLifetimeAdmin}}" userInput="" stepKey="valueForTokenLifetimeAdmin"/> |
| 34 | + <actionGroup ref="AdminSaveConfigActionGroup" stepKey="saveConfig"/> |
| 35 | + </test> |
| 36 | +</tests> |
0 commit comments