mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 18:19:12 +01:00
testing: fix rerun last not working for extension triggered runs
Fixes #144169
This commit is contained in:
@@ -153,7 +153,7 @@ export class ExtHostTesting implements ExtHostTestingShape {
|
||||
await this.proxy.$runTests({
|
||||
isUiTriggered: false,
|
||||
targets: [{
|
||||
testIds: req.include?.map(t => t.id) ?? [controller.collection.root.id],
|
||||
testIds: req.include?.map(t => TestId.fromExtHostTestItem(t, controller.collection.root.id).toString()) ?? [controller.collection.root.id],
|
||||
profileGroup: profileGroupToBitset[profile.kind],
|
||||
profileId: profile.profileId,
|
||||
controllerId: profile.controllerId,
|
||||
@@ -542,9 +542,9 @@ export class TestRunCoordinator {
|
||||
this.proxy.$startedExtensionTestRun({
|
||||
controllerId,
|
||||
profile: profile && { group: profileGroupToBitset[profile.kind], id: profile.profileId },
|
||||
exclude: request.exclude?.map(t => t.id) ?? [],
|
||||
exclude: request.exclude?.map(t => TestId.fromExtHostTestItem(t, collection.root.id).toString()) ?? [],
|
||||
id: dto.id,
|
||||
include: request.include?.map(t => t.id) ?? [collection.root.id],
|
||||
include: request.include?.map(t => TestId.fromExtHostTestItem(t, collection.root.id).toString()) ?? [collection.root.id],
|
||||
persist
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user