Repository navigation
Conversation
"[Block]: Customers can pay using Cash App Pay after decline
transcation once" declines a payment, waits for the checkout with
`page.waitForLoadState('networkidle')`, then pays again.
Since the Playwright 1.61.1 bump that wait times out after 60 seconds
in most attempts: four of six across two runs and one re-run, against
none in the fourteen runs before the bump. The checkout itself is ready
within about a second of the customer returning: the trace shows the
old payment request checked and a new one created for the rebuilt
button, then no completed request for half a minute. What keeps the
page from counting as idle is not visible in the trace, so the cause is
not established.
Wait for what the next step needs instead: the Cash App Pay button on
the checkout, with no loading mask left. This is the same loading-mask
wait `selectPaymentMethod()` uses.
The three `networkidle` waits inside `placeCashAppPayOrder()` are left
alone. They run on other pages and have not failed.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Test the buildWordPress Playground - runs in your browser
ℹ️ Neither can connect to Square: signing in to Square has to send you back to the site, and a site that runs in your browser tab has no public address to come back to. Without a connection the store cannot take payments, sync products or receive webhooks, so the previews show what a merchant sees before connecting. Do not enter Square access tokens or other credentials in a preview. The links stop working 14 days after the last build. Build info:
Note: the build is updated when a new commit is pushed to this PR. |
✅ WordPress Plugin Check Report
📊 ReportAll checks passed! No errors or warnings found. 🤖 Generated by WordPress Plugin Check Action • Learn more about Plugin Check |
|
This is linked to GitHub issue #593. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
All Submissions:
Changes proposed in this Pull Request:
After a declined payment, the "[Block]: Customers can pay using Cash App Pay after decline transcation once" test waited for
networkidleon the checkout. On the merged Playwright 1.61.1 bump (#590) that wait timed out in all three attempts of one run, and once more in the next run before passing on retry. The test now waits for the Cash App Pay button to be back on the checkout; why the page no longer goes idle is not established.Steps to test the changes in this Pull Request:
d1.cash-app-pay.spec.js:337passes without a retry.Changelog entry
🤖 Generated with Claude Code
Closes #593