-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update NSO and inquiry FAQ link on artwork sidebar (PURCHASE-1885) #5721
Conversation
.find('a[children="Conditions of Sale"]') | ||
.at(0) | ||
.simulate("click") | ||
wrapper.find('a[children="Conditions of Sale"]').at(0).simulate("click") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the large diff here. Looks like there was some prettier update that caused the format changes. Probably safe to ignore.
@@ -137,37 +125,33 @@ describe("ArtworkSidebarExtraLinks", () => { | |||
}) | |||
it("displays proper text", () => { | |||
expect(wrapper.text()).toContain( | |||
"Have a question? Read our FAQ or ask a specialist." | |||
"Have a question? Visit our help center or ask a specialist." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are real changes.
@@ -150,7 +154,9 @@ ArtworkSidebarExtraLinksContainerProps | |||
return ( | |||
<Container> | |||
Have a question?{" "} | |||
<Link onClick={this.onClickBuyNowFAQ.bind(this)}>Read our FAQ</Link>{" "} | |||
<Link onClick={this.onClickBuyNowFAQ.bind(this)}> | |||
Visit our help center |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Noticed that we track clicks for Buy Now FAQ link and Collector FAQ link below. I assume the CTA copy changes may effect how users interact with the page. Do we want to modify the tracking or are we fine keeping the existing tracking as is? cc @anipetrov
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's change the label
property to the new CTA please!
src/v2/Apps/Artwork/Components/ArtworkSidebar/ArtworkSidebarExtraLinks.tsx
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Once your question about tracking is answered feel free to merge.
275f9ca
to
bb667e7
Compare
Merging! |
https://artsyproduct.atlassian.net/browse/PURCHASE-1885