fix(xiaohongshu): adapt publish to new two-step creator center UI#490
Merged
jackwener merged 2 commits intojackwener:mainfrom Mar 27, 2026
Merged
fix(xiaohongshu): adapt publish to new two-step creator center UI#490jackwener merged 2 commits intojackwener:mainfrom
jackwener merged 2 commits intojackwener:mainfrom
Conversation
…ckwener#460) The creator center now requires image upload before showing the title/content editor form. This caused the publish command to fail with "Could not find title input". - Add waitForEditForm() to poll for editor after image upload - Extract TITLE_SELECTORS constant shared by waitForEditForm and fillField - Add contenteditable title selectors for new UI - Make images required (new UI mandates images before editor) - Update draft button to match both '暂存离开' and '存草稿' - Exclude title placeholder from content fallback selector - Update tests to match new flow
Owner
|
Thanks for the contribution! I also pushed a small follow-up refactor on your branch to make the publish-surface detection state-based and keep the tests aligned. The new two-step creator center flow support looks solid. |
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.
Description
Adapt
xiaohongshu publishto the new creator center two-step UI where images must be uploaded before the title/content editor form appears. Previously the command failed with "Could not find title input" because the editor only renders after image upload.Related issue: #460
Type of Change
Checklist
Screenshots / Output
Before (failing):
After (working):