Skip to content

Commit 32d0586

Browse files
ACQE-7588: VerifyDisableDownloadableProductSamplesAreNotAccessibleTest
MFTF test fix for VerifyOutOfStockDownloadableProductSamplesAreAccessibleTest
1 parent c21e0f8 commit 32d0586

File tree

3 files changed

+6
-10
lines changed

3 files changed

+6
-10
lines changed

app/code/Magento/Downloadable/Test/Mftf/Data/LinkData.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
/**
4-
* Copyright © Magento, Inc. All rights reserved.
5-
* See COPYING.txt for license details.
4+
* Copyright 2024 Adobe
5+
* All Rights Reserved.
66
*/
77
-->
88

app/code/Magento/Downloadable/Test/Mftf/Test/VerifyDisableDownloadableProductSamplesAreNotAccessibleTest.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919
<useCaseId value="MC-14824"/>
2020
<group value="downloadable"/>
2121
<group value="catalog"/>
22-
<!-- Will be fixed in the scope of ACQE-7464 -->
23-
<group value="pr_exclude"/>
2422
</annotations>
2523
<before>
2624
<!-- Add downloadable domains -->

app/code/Magento/Downloadable/Test/Mftf/Test/VerifyOutOfStockDownloadableProductSamplesAreAccessibleTest.xml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
<testCaseId value="MC-35639"/>
1919
<group value="downloadable"/>
2020
<group value="catalog"/>
21-
<!-- Will be fixed in the scope of ACQE-7465 -->
22-
<group value="pr_exclude"/>
2321
</annotations>
2422
<before>
2523
<!-- Enable show out of stock product -->
@@ -37,12 +35,12 @@
3735
</createData>
3836

3937
<!-- Add downloadable link -->
40-
<createData entity="downloadableLink1" stepKey="addDownloadableLink">
38+
<createData entity="downloadableLink3" stepKey="addDownloadableLink">
4139
<requiredEntity createDataKey="createProduct"/>
4240
</createData>
4341

4442
<!-- Add downloadable sample -->
45-
<createData entity="DownloadableSample" stepKey="addDownloadableSample">
43+
<createData entity="DownloadableSampleWithStaticDomain" stepKey="addDownloadableSample">
4644
<requiredEntity createDataKey="createProduct"/>
4745
</createData>
4846
</before>
@@ -70,9 +68,9 @@
7068

7169
<!-- Sample url is accessible -->
7270
<actionGroup ref="AssertStorefrontSeeElementActionGroup" stepKey="seeDownloadableSample">
73-
<argument name="selector" value="{{StorefrontDownloadableProductSection.downloadableSampleLabel(DownloadableSample.title)}}"/>
71+
<argument name="selector" value="{{StorefrontDownloadableProductSection.downloadableSampleLabel(DownloadableSampleWithStaticDomain.title)}}"/>
7472
</actionGroup>
75-
<click selector="{{StorefrontDownloadableProductSection.downloadableSampleLabel(DownloadableSample.title)}}" stepKey="clickDownloadableSample"/>
73+
<click selector="{{StorefrontDownloadableProductSection.downloadableSampleLabel(DownloadableSampleWithStaticDomain.title)}}" stepKey="clickDownloadableSample"/>
7674
<switchToNextTab stepKey="switchToSampleTab"/>
7775
<wait time="2" stepKey="waitToMakeSureThereWillBeNoRedirectToHomePage"/>
7876
<seeInCurrentUrl url="downloadable/download/sample/sample_id/" stepKey="amOnSampleDownloadPage"/>

0 commit comments

Comments
 (0)