diff --git a/test/common/wpt.js b/test/common/wpt.js index b5bc85d20618f1..4305cc3eee2e89 100644 --- a/test/common/wpt.js +++ b/test/common/wpt.js @@ -695,7 +695,7 @@ class WPTRunner { getTestTitle(filename) { const spec = this.specMap.get(filename); - return spec.meta?.title || filename; + return spec.meta?.title || filename.split('.')[0]; } // Map WPT test status to strings