Skip to content

Commit f68b8e3

Browse files
committed
fix(vscode): Only test cases are reported as queued, started and completed
this corrects the number of successful/executed test cases in the upper area of the test explorer
1 parent de95d5b commit f68b8e3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

vscode-client/testcontrollermanager.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1348,7 +1348,7 @@ export class TestControllerManager {
13481348
if (run !== undefined) {
13491349
for (const id of items) {
13501350
const item = this.findTestItemById(id);
1351-
if (item !== undefined) {
1351+
if (item !== undefined && item.canResolveChildren===false) {
13521352
run.enqueued(item);
13531353
}
13541354
}
@@ -1357,7 +1357,7 @@ export class TestControllerManager {
13571357

13581358
private OnRobotStartedEvent(runId: string | undefined, event: RobotExecutionEvent) {
13591359
switch (event.type) {
1360-
case "suite":
1360+
//case "suite":
13611361
case "test":
13621362
this.TestItemStarted(runId, event);
13631363
break;
@@ -1382,7 +1382,7 @@ export class TestControllerManager {
13821382

13831383
private OnRobotEndedEvent(runId: string | undefined, event: RobotExecutionEvent) {
13841384
switch (event.type) {
1385-
case "suite":
1385+
//case "suite":
13861386
case "test":
13871387
this.TestItemEnded(runId, event);
13881388
break;

0 commit comments

Comments
 (0)