Ghost/ghost/core/test/e2e-server
Steve Larson 00230314db
🐛 Fixed member source attribution for sign-up (Portal) links (#20566)
ref https://linear.app/tryghost/issue/ONC-154
- the query params did not carry through on portal sign up links because
of the hash creating an ignored fragment
(/#/portal/signup?ref=something)

Now when we check link attribution, we'll attempt to run the same logic
for the referrer source after stripping out `#/portal` from the URL.
Otherwise we should continue to treat these fragments as fragments to be
ignored by the client.

NOTE: We do not have e2e tests that cover member signup on the front end
and the data entered in the back end. The tests we have mock only the
server side of things. The test added here only covers the data that is
generated from the front end request (at this time), *not* the front end
request itself, meaning it's fragile.
2024-07-09 16:14:33 +00:00
..
__snapshots__ Fixed race condition when updating member's last_seen_at timestamp (#20389) 2024-06-18 20:03:32 -07:00
jobs Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
services 🐛 Fixed member source attribution for sign-up (Portal) links (#20566) 2024-07-09 16:14:33 +00:00
1-options-requests.test.js Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
admin.test.js Added cache-control header back to /auth-frame/ response (#19858) 2024-03-13 16:00:46 +00:00
click-tracking.test.js Fixed race condition when updating member's last_seen_at timestamp (#20389) 2024-06-18 20:03:32 -07:00
well-known.test.js Removed unnecessary mockMail call 2023-04-07 14:34:57 +02:00