Skip to content

[pull] main from TryGhost:main#928

Merged
pull[bot] merged 4 commits intocode:mainfrom
TryGhost:main
Feb 19, 2026
Merged

[pull] main from TryGhost:main#928
pull[bot] merged 4 commits intocode:mainfrom
TryGhost:main

Conversation

@pull
Copy link

@pull pull bot commented Feb 19, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

cmraible and others added 4 commits February 18, 2026 14:19
…#26056)

No user-facing change included in this commit - this just deletes dead
code.

These hooks were used when analytics was gated behind a feature flag,
but they're currently not in use anywhere in the stats app. It's a
little confusing to keep these around, especially because the naming
isn't as specific as it could be.

We can always reintroduce these if we need to gate certain routes by
feature flag, with a more specific name.
ref https://github.com/TryGhost/Ghost/actions/runs/22154549172/job/64055168837

We had an assertion error like this:

Email HTML should not contain OTC. Found: "860572" near:
"0.1:4015/members/?token=th0fWUDq5WKKteGjd3CSaLYwIC860572&action=signin"

If the token has six consecutive numbers, the test will fail.

To fix that, we only check the actual text, not HTML attributes.
no ref

This is a test-only change that should have no user impact.

Now that we're not using Should.js any more, we can remove it
completely.
…26501)

refs
https://github.com/TryGhost/Ghost/actions/runs/22159115008/job/64071040152

Portal donations tests were flaking fairly frequently in CI. 

The `submitStripePayment` flow in e2e-browser-utils was clicking on the
submit button in Stripe Checkout and then exiting. This prematurely
started subsequent assertions in the tests, before the redirect back to
Ghost had completed.

This fixes that by waiting for the url to no longer include
stripe.checkout.com, indicating that the redirect back to Ghost has
completed, and only then starting the assertions in the tests
themselves.

This fix was in response to flaky donations tests, but it should also
improve the reliability of any test that uses Stripe checkout:
  - ghost/core/test/e2e-browser/portal/donations.spec.js
  - ghost/core/test/e2e-browser/portal/tiers.spec.js
  - ghost/core/test/e2e-browser/portal/upgrade.spec.js
  - ghost/core/test/e2e-browser/portal/offers.spec.js
@pull pull bot locked and limited conversation to collaborators Feb 19, 2026
@pull pull bot added the ⤵️ pull label Feb 19, 2026
@pull pull bot merged commit 60a78ea into code:main Feb 19, 2026
1 check passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments