Skip to content

Commit 7998d8d

Browse files
ACQE-8000: Unskip StorefrontBundleCheckBoxOptionValidationTest
- Skip tag removed and fixed the issue in test case
1 parent e7856d4 commit 7998d8d

File tree

4 files changed

+24
-8
lines changed

4 files changed

+24
-8
lines changed

app/code/Magento/Bundle/Test/Mftf/ActionGroup/AssertStorefrontBundleValidationMessageActionGroup.xml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,28 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
3+
<<<<<<< HEAD
34
/**
45
* Copyright 2020 Adobe
56
* All Rights Reserved.
7+
=======
8+
/************************************************************************
9+
*
10+
* ADOBE CONFIDENTIAL
11+
* ___________________
12+
*
13+
* Copyright 2025 Adobe
14+
* All Rights Reserved.
15+
*
16+
* NOTICE: All information contained herein is, and remains
17+
* the property of Adobe and its suppliers, if any. The intellectual
18+
* and technical concepts contained herein are proprietary to Adobe
19+
* and its suppliers and are protected by all applicable intellectual
20+
* property laws, including trade secret and copyright laws.
21+
* Dissemination of this information or reproduction of this material
22+
* is strictly forbidden unless prior written permission is obtained
23+
* from Adobe.
24+
* ************************************************************************
25+
>>>>>>> ACQE-8000-1
626
*/
727
-->
828

@@ -17,6 +37,6 @@
1737
</arguments>
1838

1939
<waitForPageLoad stepKey="waitForPageLoad"/>
20-
<see selector="{{StorefrontBundledSection.validationMessageBox}}" userInput="{{message}}" stepKey="seeErrorHoldMessage"/>
40+
<see selector="{{StorefrontBundledSection.selectOptionError}}" userInput="{{message}}" stepKey="seeErrorHoldMessage"/>
2141
</actionGroup>
2242
</actionGroups>

app/code/Magento/Bundle/Test/Mftf/ActionGroup/AssertStorefrontBundleValidationMessagesCountActionGroup.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
</annotations>
1515

1616
<waitForPageLoad stepKey="waitForPageLoad"/>
17-
<seeElement selector="{{StorefrontBundledSection.validationMessageBox}}" stepKey="seeErrorBox"/>
18-
<seeNumberOfElements selector="{{StorefrontBundledSection.validationMessageBox}}" userInput="1" stepKey="seeOneErrorBox"/>
17+
<seeElement selector="{{StorefrontBundledSection.selectOptionError}}" stepKey="seeErrorBox"/>
18+
<seeNumberOfElements selector="{{StorefrontBundledSection.selectOptionError}}" userInput="1" stepKey="seeOneErrorBox"/>
1919
</actionGroup>
2020
</actionGroups>

app/code/Magento/Bundle/Test/Mftf/Section/StorefrontBundledSection.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,6 @@
5151
<element name="dropDownQuantityValidation" type="input" selector="//span[contains(text(), '{{productName}}')]/../..//input/following-sibling::div[@class='mage-error']" parameterized="true"/>
5252
<element name="radioButtonQuantityValidation" type="input" selector="//label//span[contains(text(), '{{productName}}')]/../..//div[@class='control']//div[@class='field qty qty-holder']//input/following-sibling::div[@class='mage-error']" parameterized="true"/>
5353
<element name="dropDrownOptionQuantity" type="input" selector="//span[contains(text(), '{{productName}}')]/../..//input/following-sibling::div//div//div//input" parameterized="true"/>
54+
<element name="selectOptionError" type="text" selector="//div[contains(@class, 'field')]//div[contains(@class, 'mage-error')]"/>
5455
</section>
5556
</sections>

app/code/Magento/Bundle/Test/Mftf/Test/StorefrontBundleCheckBoxOptionValidationTest.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
* All Rights Reserved.
66
*/
77
-->
8-
98
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
109
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
1110
<test name="StorefrontBundleCheckBoxOptionValidationTest">
@@ -17,11 +16,7 @@
1716
<testCaseId value="MC-35133"/>
1817
<severity value="MINOR"/>
1918
<group value="Bundle"/>
20-
<group value="pr_exclude"/>
2119
<group value="cloud"/>
22-
<skip>
23-
<issueId value="AC-10826"/>
24-
</skip>
2520
</annotations>
2621
<before>
2722
<createData entity="ApiProductWithDescription" stepKey="simpleProduct1" before="bundleProduct"/>

0 commit comments

Comments
 (0)