File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed
app/code/Magento/CatalogInventory/Test/Mftf/ActionGroup Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 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+ <actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
11+ <actionGroup name =" AdminFillGoogleDistanceProviderAPIKeyActionGroup" >
12+ <annotations >
13+ <description >Goes to the 'Configuration' page for 'Inventory' and expand Google Distance Provider. Fill Google API Key. Clicks on the Save button.</description >
14+ </annotations >
15+ <arguments >
16+ <argument name =" apiKey" defaultValue =" AIzaSyD7QOaF7rcGVZQwrbG7AYNnFLwyuhGpQBU" type =" string" />
17+ </arguments >
18+
19+ <amOnPage url =" {{InventoryConfigurationPage.url}}" stepKey =" navigateToInventoryConfigurationPage" />
20+ <waitForPageLoad stepKey =" waitForConfigPageToLoad" />
21+ <conditionalClick stepKey =" expandGoogledistanceProvider" selector =" {{InventoryConfigSection.GoogleDistanceProvidedTab}}" dependentSelector =" {{InventoryConfigSection.GoogleDistanceProvidedTabExpanded}}" visible =" true" />
22+ <!-- Fill Google API key-->
23+ <waitForElementVisible selector =" {{InventoryConfigSection.GoogleDistanceProvided}}" stepKey =" waitForGoogleAPIKeyField" />
24+ <fillField selector =" {{InventoryConfigSection.GoogleDistanceProvided}}" userInput =" {{apiKey}}" stepKey =" fillGoogleDistanceProvider" />
25+ <click selector =" {{ContentManagementSection.Save}}" stepKey =" clickSaveConfig" />
26+ </actionGroup >
27+ </actionGroups >
You can’t perform that action at this time.
0 commit comments