diff --git a/Userland/Utilities/headless-browser.cpp b/Userland/Utilities/headless-browser.cpp index 56dee77b203..200092bf00f 100644 --- a/Userland/Utilities/headless-browser.cpp +++ b/Userland/Utilities/headless-browser.cpp @@ -554,7 +554,9 @@ static ErrorOr run_tests(HeadlessWebContentView& view, StringView test_root TRY(collect_dump_tests(tests, TRY(String::formatted("{}/Layout", test_root_path)), "."sv, TestMode::Layout)); TRY(collect_dump_tests(tests, TRY(String::formatted("{}/Text", test_root_path)), "."sv, TestMode::Text)); TRY(collect_ref_tests(tests, TRY(String::formatted("{}/Ref", test_root_path)))); +#ifndef AK_OS_MACOS TRY(collect_ref_tests(tests, TRY(String::formatted("{}/Screenshot", test_root_path)))); +#endif tests.remove_all_matching([&](auto const& test) { return !test.input_path.bytes_as_string_view().matches(test_glob, CaseSensitivity::CaseSensitive);