Documentation: Update command for regenerating test expectations

This commit is contained in:
Neil Viloria 2024-10-06 19:17:43 -06:00 committed by Andrew Kaster
parent dfabdb7fed
commit 1e29a3ae13
Notes: github-actions[bot] 2024-10-07 04:49:12 +00:00

View file

@ -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).