Skip to content

fix: X thread publishing no longer fails at the third post - #16038

Merged
atomantic merged 2 commits into
mainfrom
fix/x-thread-add-post-strict-locator
Nov 14, 2026
Merged

atomantic merged 2 commits into
mainfrom
fix/x-thread-add-post-strict-locator

Conversation

@atomantic

Copy link
Copy Markdown
Owner

Publishing a 3+ post thread to X failed at add post 3 with a Playwright strict-mode violation: every post in the thread renders its own add-post button, so [role=dialog] [data-testid=addButton] matched several elements. The step now clicks the last (newest post's) button.

Regression test: the fake locator throws on a bare click of a second addButton, and a three-post thread must pass.

Validation: npm run pregate (focused).

@atomantic
atomantic enabled auto-merge (squash) November 14, 2026 06:12
@atomantic
atomantic merged commit b2a2e52 into main Nov 14, 2026
19 checks passed
@atomantic
atomantic deleted the fix/x-thread-add-post-strict-locator branch November 14, 2026 06:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant