From 1e29a3ae13e1d71d8450f512379ebd66a106087b Mon Sep 17 00:00:00 2001 From: Neil Viloria Date: Sun, 6 Oct 2024 19:17:43 -0600 Subject: [PATCH] Documentation: Update command for regenerating test expectations --- Documentation/Browser/Patterns.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/Browser/Patterns.md b/Documentation/Browser/Patterns.md index 9e7640766c1..520bf2de3cb 100644 --- a/Documentation/Browser/Patterns.md +++ b/Documentation/Browser/Patterns.md @@ -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).