Skip to content

Commit ccc9b63

Browse files
committed
Add action group
1 parent 438e606 commit ccc9b63

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
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="SeeProductInComparisonListActionGroup">
12+
<annotations>
13+
<description>Validate that the Product is present in the comparison list</description>
14+
</annotations>
15+
<arguments>
16+
<argument name="productVar"/>
17+
</arguments>
18+
19+
<amOnPage url="{{StorefrontProductComparePage.url}}" stepKey="navigateToComparePage"/>
20+
<waitForPageLoad stepKey="waitForStorefrontProductComparePageLoad"/>
21+
<seeElement selector="{{StorefrontProductCompareMainSection.ProductLinkByName(productVar.name)}}"
22+
stepKey="seeProductInCompareList"/>
23+
</actionGroup>
24+
</actionGroups>

0 commit comments

Comments
 (0)