From 673c1a138ac2faa47fc3a4ece3d58e6b8d32397f Mon Sep 17 00:00:00 2001 From: DudaGod Date: Tue, 24 Sep 2024 17:23:24 +0300 Subject: [PATCH] feat: add ability to filter tests by browser name --- src/test-tree/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test-tree/index.ts b/src/test-tree/index.ts index 3fe3754..b35eb43 100644 --- a/src/test-tree/index.ts +++ b/src/test-tree/index.ts @@ -221,6 +221,8 @@ export class TestTree extends vscode.Disposable { const browserItem = this._createBrowserTestItem(browserId, testItem); this._browserItems.set(browserItem.id, browserItem); + browserItem.tags = [...browserItem.tags, new vscode.TestTag(`browser:${browserId}`)]; + TestCaseByBrowser.register(browserItem, testItem); testItem.children.add(browserItem); });