Skip to content

Commit c62fde1

Browse files
committed
ACP2E-341::Product is not getting added in wishlist from product list page and product view page when customer confirms account from confirmation email - Fixed Automation test
1 parent 7638c01 commit c62fde1

File tree

1 file changed

+1
-0
lines changed
  • dev/tests/integration/testsuite/Magento/Wishlist/Controller/Index

1 file changed

+1
-0
lines changed

dev/tests/integration/testsuite/Magento/Wishlist/Controller/Index/AddTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ public function testCreateCustomerWithEmailConfirmationAfterAddToWishlist(): voi
187187
$data = [];
188188
$data['product'] = (int)$product->getId();
189189
$this->customerSession->setBeforeWishlistRequest($data);
190+
$this->customerSession->setBeforeAuthUrl($this->urlBuilder->getUrl('wishlist/index/add'));
190191
$email = 'test_example_new@email.com';
191192
$this->fillRequestWithCustomerData($email);
192193
$this->dispatch('customer/account/createPost');

0 commit comments

Comments
 (0)