Ghost/ghost/core/test/e2e-server/services
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__ Added email address alignment protections (#19094) 2023-11-23 10:25:30 +01:00
stats Added cache config to stats endpoints (#19481) 2024-01-18 15:26:49 +01:00
member-attribution.test.js 🐛 Fixed member source attribution for sign-up (Portal) links (#20566) 2024-07-09 16:14:33 +00:00
mentions.test.js Enforced more Mocha lint rules (#19720) 2024-04-16 09:37:06 +02:00
milestones.test.js Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
recommendation-emails.test.js Renamed reason to description in recommendations table (#18527) 2023-10-09 11:19:44 -03:00