Skip to content

Commit

Permalink
feat: add ability to filter tests by browser name
Browse files Browse the repository at this point in the history
  • Loading branch information
DudaGod committed Sep 24, 2024
1 parent 8babab6 commit 673c1a1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/test-tree/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
Expand Down

0 comments on commit 673c1a1

Please sign in to comment.