Skip to content

Commit d6392d4

Browse files
akaashakaash
authored andcommitted
Merge branch 'ACQE-5202' into functional-mainline-deployment
2 parents caf7210 + 572afc2 commit d6392d4

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
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>

0 commit comments

Comments
 (0)