mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 00:50:22 +00:00
Documentation: Update command for regenerating test expectations
This commit is contained in:
parent
dfabdb7fed
commit
1e29a3ae13
Notes:
github-actions[bot]
2024-10-07 04:49:12 +00:00
Author: https://github.com/neil-ptr Commit: https://github.com/LadybirdBrowser/ladybird/commit/1e29a3ae13e Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1657 Reviewed-by: https://github.com/sideshowbarker
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ Running `Tests/LibWeb/add_libweb_test.py your-new-test-name` will create a new t
|
|||
a corresponding expectations file in `Tests/LibWeb/Text/expected/your-new-test-name.txt`.
|
||||
|
||||
After you update/replace the generated boilerplate in your `your-new-test-name.html` test file with your actual test,
|
||||
running `headless-browser --run-tests "${LADYBIRD_SOURCE_DIR}/Tests/LibWeb" --rebaseline -f Text/input/foobar.html` will
|
||||
running `./Meta/ladybird.sh run headless-browser --run-tests "${LADYBIRD_SOURCE_DIR}/Tests/LibWeb" --rebaseline -f Text/input/foobar.html` will
|
||||
regenerate the corresponding expectations file — to match the actual output from your updated test (where
|
||||
`/opt/ladybird` should be replaced with the absolute path your ladybird clone in your local environment).
|
||||
|
||||
|
|
Loading…
Reference in a new issue