Repository navigation
test(browser): bring the dedicated browser scripts back in line with the app - #66
Merged
Merged
Conversation
…the app Four dedicated browser scripts had drifted from the app. Token counts now render with two decimals, the merge endpoint needs a fixture, the weekly estimate converges to actual spend and corrects rounded percent arrivals, and the drag library ignores an arrow key pressed right after pickup. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
问题
overview-account-usage、quota-pwa-layout、mobile-app、quota-estimate四个专项浏览器脚本在 main 上都跑不通。产品本身没有问题,是脚本的预期落后于后来的界面和算法改动,改界面时没法再靠它们发现回归。原因与改动
8.40K、129.60K、50.00M),预期同步更新。/api/accounts/merge,脚本没有模拟这个接口,读回别的数据后页面报错、卡片不渲染。补上合并状态的模拟返回。fullWeekEstimate反推外推值,页面金额按同一公式算出。AGENTS.md写明专项脚本需要演示后端和bun run dev页面,免得再把环境没搭好误判成脚本失效。验证
mobile-app连续 5 次通过,主冒烟脚本bun run test:browser也通过。🤖 Generated with Claude Code