Ref https://github.com/microsoft/playwright/issues/26929
Previously, it would say "Timed out" when page was closed at test timeout, or not say "Timed out" when at least one element matched. Fixes #21664.