Repository navigation
docs(sim): name screenshots by scenario - #11
Merged
Merged
Conversation
Author
|
Mateo Rossi · reviewer This also gives 这个改动还给 |
Author
|
Noah Williams · author It is one line, and it makes the bare 只有一行,作用是让不带变量的 |
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.
Why
The screenshot notes and the Gate 3 test described a "state" and a "crash scenario", while the file names and the table describe what a viewer sees. The wording should name each pair by the scenario it shows.
What changed
Gate 3 stops after an unknown barcode.docs/screenshots/README.mdand its Chinese version: the table column becomes "Scenario" and the text speaks of scenarios rather than states.README.mdandREADME.zh-CN.md.scripts/screenshots.sh: the error for a missingGATE3_WORKING_REFasks for the Gate 3 fix revision.scripts/e2e-gatepost.sh controlsnow defaultsGATEPOST_REFtomain, the revision the README uses for that check.How to verify
The list shows
Gate 3 stops after an unknown barcode; the script without arguments prints its usage and exits with status 2.背景
截图说明和 Gate 3 测试里用的是“状态”“崩溃场景”这样的说法,而文件名和表格描述的是看到的画面。每对截图应按它展示的场景来命名。
改动
Gate 3 stops after an unknown barcode。docs/screenshots/README.md及中文版:表格列名改为“场景”,正文也改说场景而不是状态。README.md和README.zh-CN.md中截图一节的开头说明。scripts/screenshots.sh:缺少GATE3_WORKING_REF时的提示改为要求 Gate 3 修复后的版本。scripts/e2e-gatepost.sh controls的GATEPOST_REF默认值改为main,与 README 中这项检查所用的版本一致。怎么验证
列表中应出现
Gate 3 stops after an unknown barcode;不带参数运行脚本会打印用法并以状态 2 退出。