Ghost/ghost/core/test
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
..
e2e-api Cleaned up 'Filter by email disabled' GA feature flag (#20554) 2024-07-09 10:11:26 +00:00
e2e-browser Fixed browser tests 2024-07-01 14:49:20 +02:00
e2e-frontend Fixed offer not found case during Stripe checkout (#20322) 2024-06-04 10:27:45 +00:00
e2e-server 🐛 Fixed member source attribution for sign-up (Portal) links (#20566) 2024-07-09 16:14:33 +00:00
e2e-webhooks Cleaned up lexicalEditor labs flag, switched Post model to lexical-by-default (#18607) 2023-10-23 17:51:34 +01:00
integration Removed duplicate email template and styles files (#20528) 2024-07-03 14:35:17 +02:00
regression Updated password updated successfully notification copy (#20512) 2024-07-02 16:26:12 +02:00
unit 🐛 Fixed bad redirects yaml overriding backed up working yaml file (#20555) 2024-07-08 16:45:20 +07:00
utils Fixed handling SVG files with missing tag 2024-06-18 14:41:11 +02:00
.eslintignore Added Source as the new default theme 2023-10-03 14:02:08 +02:00
.eslintrc.js Enforced more Mocha lint rules (#19720) 2024-04-16 09:37:06 +02:00