Skip to content

Fix flaky tests - #337

Draft
AlistairNorman wants to merge 9 commits into
solidusio:mainfrom
SuperGoodSoft:flaky-test
Draft

AlistairNorman wants to merge 9 commits into
solidusio:mainfrom
SuperGoodSoft:flaky-test

Conversation

@AlistairNorman

@AlistairNorman AlistairNorman commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Checklist

Check out our PR guidelines for more details.

The following are mandatory for all PRs:

The following are not always needed:

  • 📖 I have updated the README to account for my changes.
  • 📑 I have documented new code with YARD.
  • 🛣️ I have opened a PR to update the guides.
  • ✅ I have added automated tests to cover my changes.
  • 📸 I have attached screenshots to demo visual changes.

@AlistairNorman AlistairNorman self-assigned this Sep 2, 2026
@AlistairNorman
AlistairNorman marked this pull request as ready for review September 2, 2026 22:49
@AlistairNorman AlistairNorman changed the title Wait for the Stripe element to mount before submitting payment Fix flaky test Sep 3, 2026
@AlistairNorman
AlistairNorman force-pushed the flaky-test branch 2 times, most recently from 6fa967f to bfba698 Compare September 3, 2026 00:55
@AlistairNorman
AlistairNorman marked this pull request as draft September 3, 2026 04:28
@AlistairNorman AlistairNorman changed the title Fix flaky test Fix flaky tests Sep 3, 2026
@AlistairNorman
AlistairNorman force-pushed the flaky-test branch 6 times, most recently from 02aea6b to 6d63809 Compare September 8, 2026 21:50
AlistairNorman and others added 7 commits September 15, 2026 14:44
Chrome reports a detached node as UnknownError, which Capybara does not retry,
so it failed three unrelated system specs in CI.
There were flaky tests due to Stripe requests not being specific enough
with how matching worked.
This speeds up CI and means we don't have to deal with flaky tests that
are being copied in from solidus storefront.

Co-Authored-By: Adam Mueller <adam@super.gd>
We add Rails 8.1 and remove the unsupported Rails 7.2 and Solidus 4.5.

Co-Authored-By: Adam Mueller <adam@super.gd>
Changes just for testing a flaky test.
Checking that we are on the correct path gives a more informative
failure.

Co-Authored-By: Adam Mueller <adam@super.gd>
This might be failing inconsistently leading to hard to diagnose spec
failures.

Co-Authored-By: Adam Mueller <adam@super.gd>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant