1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<!-- Test XML Example -->
3
3
<config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" ../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Test/etc/testSchema.xsd" >
4
- <cest name =" StorefrontCustomerCreateWishlistCest " >
4
+ <cest name =" StorefrontDeletePersistedWishlistCest " >
5
5
<annotations >
6
- <features value =" Persist a wishlist for a customer" />
7
- <stories value =" Persist a wishlist for a customer" />
6
+ <features value =" Delete a persist wishlist for a customer" />
7
+ <stories value =" Delete a persist wishlist for a customer" />
8
8
<env value =" chrome" />
9
9
<env value =" firefox" />
10
10
<env value =" phantomjs" />
26
26
<deleteData mergeKey =" deleteCategory" createDataKey =" category" />
27
27
<deleteData mergeKey =" deleteCustomer" createDataKey =" customer" />
28
28
</after >
29
- <test name =" StorefrontCustomerCreateWishlistTest " >
29
+ <test name =" StorefrontDeletePersistedWishlistTest " >
30
30
<annotations >
31
- <title value =" Persist a wishlist for a customer" />
32
- <description value =" Persist a wishlist for a customer" />
31
+ <title value =" Delete a persist wishlist for a customer" />
32
+ <description value =" Delete a persist wishlist for a customer" />
33
33
</annotations >
34
34
<amOnPage mergeKey =" amOnSignInPage" url =" {{StorefrontCustomerSignInPage.url}}" />
35
35
<fillField mergeKey =" fillEmail" userInput =" $$customer.email$$" selector =" {{StorefrontCustomerSignInFormSection.emailField}}" />
41
41
<see mergeKey =" seeEmail" userInput =" $$customer.email$$" selector =" {{StorefrontCustomerDashboardAccountInformationSection.ContactInformation}}" />
42
42
<waitForPageLoad mergeKey =" 15" />
43
43
<amOnPage mergeKey =" amOnWishlist" url =" {{StorefrontCustomerWishlistPage.url}}" />
44
- <see mergeKey =" seeInField" userInput =" $$product.name$$" selector =" {{StorefrontCustomerWishlistSection.productItemName}}" />
44
+ <see mergeKey =" seeWishlist" userInput =" $$product.name$$" selector =" {{StorefrontCustomerWishlistSection.productItemNameText}}" />
45
+ <moveMouseOver mergeKey =" mouseOver" selector =" {{StorefrontCustomerWishlistSection.productItemNameText}}" />
46
+ <waitForElementVisible mergeKey =" waitForRemoveButton" selector =" {{StorefrontCustomerWishlistSection.removeWishlistButton}}" />
47
+ <click mergeKey =" clickRemove" selector =" {{StorefrontCustomerWishlistSection.removeWishlistButton}}" />
48
+ <see mergeKey =" seeEmptyWishlist" userInput =" You have no items in your wish list" selector =" {{StorefrontCustomerWishlistSection.emptyWishlistText}}" />
45
49
</test >
46
50
</cest >
47
51
</config >
0 commit comments