mirror of
https://github.com/TheBinaryNinja/tvapp2.git
synced 2026-06-04 16:05:42 -04:00
build(deps): bump playwright from 1.49.1 to 1.50.1
This commit is contained in:
12
node_modules/playwright/lib/isomorphic/testTree.js
generated
vendored
12
node_modules/playwright/lib/isomorphic/testTree.js
generated
vendored
@@ -52,15 +52,19 @@ class TestTree {
|
||||
this._treeItemById.set(rootFolder, this.rootItem);
|
||||
const visitSuite = (project, parentSuite, parentGroup) => {
|
||||
for (const suite of parentSuite.suites) {
|
||||
const title = suite.title || '<anonymous>';
|
||||
let group = parentGroup.children.find(item => item.kind === 'group' && item.title === title);
|
||||
if (!suite.title) {
|
||||
// Flatten anonymous describes.
|
||||
visitSuite(project, suite, parentGroup);
|
||||
continue;
|
||||
}
|
||||
let group = parentGroup.children.find(item => item.kind === 'group' && item.title === suite.title);
|
||||
if (!group) {
|
||||
group = {
|
||||
kind: 'group',
|
||||
subKind: 'describe',
|
||||
id: 'suite:' + parentSuite.titlePath().join('\x1e') + '\x1e' + title,
|
||||
id: 'suite:' + parentSuite.titlePath().join('\x1e') + '\x1e' + suite.title,
|
||||
// account for anonymous suites
|
||||
title,
|
||||
title: suite.title,
|
||||
location: suite.location,
|
||||
duration: 0,
|
||||
parent: parentGroup,
|
||||
|
||||
Reference in New Issue
Block a user