test: adds tiny delay before placing a bet to avoid race conditions#25093
test: adds tiny delay before placing a bet to avoid race conditions#25093christopherferreira9 merged 1 commit intomainfrom
Conversation
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsThe change is a minor modification to the E2E test page object The
All these tests are tagged with No application code is modified, so there's no risk to other features. The change is isolated to the Predictions E2E test infrastructure. |
|



Description
A race condition between placing a bet and getting the full details for that same bet is causing flakiness on the place best test.
Changelog
CHANGELOG entry:
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Improves e2e stability around placing a bet in Predict flow.
delay: 1000totapOpenPosition()when tappingPLACE_BET_BUTTONto allow position values to stabilize before the tapPredictDetailsPage.tsWritten by Cursor Bugbot for commit 58f2193. This will update automatically on new commits. Configure here.