mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-10 10:09:14 +00:00
LibWebView+Tests+UI: Migrate headless-browser to test-web
Now that headless mode is built into the main Ladybird executable, the headless-browser's only purpose is to run tests. So let's move it to the testing directory and rename it to test-web (a la test-js / test-wasm).
This commit is contained in:
parent
c011dc766f
commit
9a5b31ccd1
Notes:
github-actions[bot]
2025-06-10 16:05:57 +00:00
Author: https://github.com/trflynn89
Commit: 9a5b31ccd1
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5026
21 changed files with 166 additions and 189 deletions
|
@ -87,8 +87,7 @@ def create_test(test_name: str, test_type: str, is_async: bool = False) -> None:
|
|||
elif test_type == "Layout":
|
||||
input_boilerplate = generic_boilerplate
|
||||
expected_boilerplate = f"""run
|
||||
./Meta/ladybird.py run headless-browser --run-tests
|
||||
"${{LADYBIRD_SOURCE_DIR}}/Tests/LibWeb" --rebaseline -f {input_file}
|
||||
./Meta/ladybird.py run test-web --rebaseline -f {input_file}
|
||||
to produce the expected output for this test
|
||||
"""
|
||||
print("Delete <!DOCTYPE html> and replace it with <!--Quirks mode--> if test should run in quirks mode")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue