Skip to content

Commit c0c4bcb

Browse files
committed
Merge remote-tracking branch 'origin/MC-39127' into 2.4-develop-pr46
2 parents 2b54556 + e94a9fd commit c0c4bcb

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

app/code/Magento/Persistent/Test/Mftf/Test/StorefrontCorrectWelcomeMessageAfterCustomerIsLoggedOutTest.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,5 +75,8 @@
7575
<see userInput="Welcome, $$createCustomerForPersistent.firstname$$ $$createCustomerForPersistent.lastname$$! Not you?"
7676
selector="{{StorefrontHeaderSection.welcomeMessage}}"
7777
stepKey="seePersistentWelcomeMessage"/>
78+
<dontSee userInput="Not you? Not you?"
79+
selector="{{StorefrontHeaderSection.welcomeMessage}}"
80+
stepKey="verifyNotYouLinkNotDuplicated"/>
7881
</test>
7982
</tests>

app/code/Magento/Persistent/view/frontend/web/js/view/additional-welcome.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ define([
4040

4141
$(this).attr('data-bind', html);
4242
$(this).html(html);
43-
$(this).after(' <span><a ' + window.notYouLink + '>' + $t('Not you?') + '</a></span>');
4443
});
44+
$(welcomeElems).append(' <span><a ' + window.notYouLink + '>' + $t('Not you?') + '</a>');
4545
}
4646
}
4747
},

0 commit comments

Comments
 (0)