Skip to content

Commit 74aa9c6

Browse files
authored
Merge pull request #4637 from magento-pangolin/MQE-1690
[pangolin] MQE-1690: Unskip StorefrontDeletePersistedWishlistTest
2 parents 3114e53 + b182d5e commit 74aa9c6

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

app/code/Magento/Wishlist/Test/Mftf/Section/StorefrontCustomerWishlistSection.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<element name="pageTitle" type="text" selector="h1.page-title"/>
1313
<element name="successMsg" type="text" selector="div.message-success.success.message"/>
1414
<element name="productItemNameText" type="text" selector=".products-grid .product-item-name a"/>
15-
<element name="removeWishlistButton" type="button" selector=".products-grid .btn-remove.action.delete>span" timeout="30"/>
15+
<element name="removeWishlistButton" type="button" selector="//main//li[.//a[contains(text(), '{{prodName}}')]]//a[@data-role='remove']" parameterized="true" timeout="30"/>
1616
<element name="emptyWishlistText" type="text" selector=".message.info.empty>span"/>
1717
</section>
1818
</sections>

app/code/Magento/Wishlist/Test/Mftf/Test/StorefrontDeletePersistedWishlistTest.xml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@
1616
<severity value="AVERAGE"/>
1717
<group value="wishlist"/>
1818
<testCaseId value="MC-4110"/>
19-
<skip>
20-
<issueId value="MQE-1145"/>
21-
</skip>
2219
</annotations>
2320
<before>
2421
<createData stepKey="category" entity="SimpleSubCategory"/>
@@ -39,19 +36,20 @@
3936
</after>
4037

4138
<amOnPage stepKey="amOnSignInPage" url="{{StorefrontCustomerSignInPage.url}}"/>
39+
<waitForPageLoad stepKey="waitForLoginPage"/>
4240
<fillField stepKey="fillEmail" userInput="$$customer.email$$" selector="{{StorefrontCustomerSignInFormSection.emailField}}"/>
4341
<fillField stepKey="fillPassword" userInput="$$customer.password$$" selector="{{StorefrontCustomerSignInFormSection.passwordField}}"/>
4442
<waitForElementVisible stepKey="waitForButton" selector="{{StorefrontCustomerSignInFormSection.signInAccountButton}}"/>
4543
<click stepKey="clickSignInAccountButton" selector="{{StorefrontCustomerSignInFormSection.signInAccountButton}}"/>
4644
<see stepKey="seeFirstName" userInput="$$customer.firstname$$" selector="{{StorefrontCustomerDashboardAccountInformationSection.ContactInformation}}" />
4745
<see stepKey="seeLastName" userInput="$$customer.lastname$$" selector="{{StorefrontCustomerDashboardAccountInformationSection.ContactInformation}}" />
4846
<see stepKey="seeEmail" userInput="$$customer.email$$" selector="{{StorefrontCustomerDashboardAccountInformationSection.ContactInformation}}" />
49-
<waitForPageLoad stepKey="15"/>
5047
<amOnPage stepKey="amOnWishlist" url="{{StorefrontCustomerWishlistPage.url}}"/>
51-
<see stepKey="seeWishlist" userInput="$$product.name$$" selector="{{StorefrontCustomerWishlistSection.productItemNameText}}"/>
52-
<moveMouseOver stepKey="mouseOver" selector="{{StorefrontCustomerWishlistSection.productItemNameText}}"/>
53-
<waitForElementVisible stepKey="waitForRemoveButton" selector="{{StorefrontCustomerWishlistSection.removeWishlistButton}}"/>
54-
<click stepKey="clickRemove" selector="{{StorefrontCustomerWishlistSection.removeWishlistButton}}"/>
48+
<waitForPageLoad stepKey="waitForWishlist"/>
49+
<see stepKey="seeWishlist" userInput="$$product.price$$" selector="{{StorefrontCustomerWishlistProductSection.ProductPriceByName($$product.name$$)}}"/>
50+
<moveMouseOver stepKey="mouseOver" selector="{{StorefrontCustomerWishlistProductSection.ProductPriceByName($$product.name$$)}}"/>
51+
<waitForElementVisible stepKey="waitForRemoveButton" selector="{{StorefrontCustomerWishlistSection.removeWishlistButton($$product.name$$)}}"/>
52+
<click stepKey="clickRemove" selector="{{StorefrontCustomerWishlistSection.removeWishlistButton($$product.name$$)}}"/>
5553
<see stepKey="seeEmptyWishlist" userInput="You have no items in your wish list" selector="{{StorefrontCustomerWishlistSection.emptyWishlistText}}"/>
5654
</test>
5755
</tests>

0 commit comments

Comments
 (0)