Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: Fixed access to TestDetails
  • Loading branch information
samtrion committed Nov 1, 2025
commit 8d4f8664e90371e86c8145fcfc1760392dab64e2
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,14 @@ protected static IEnumerable<KeyValuePair<string, string>> GetTraits([CallerMemb
}

private static IEnumerable<KeyValuePair<string, string>> GetCategories(TestContext context) =>
context.TestDetails.Categories.Select(category => new KeyValuePair<string, string>("TestCategory", category));
context.Metadata.TestDetails.Categories.Select(category => new KeyValuePair<string, string>(
"TestCategory",
category
));

private static IEnumerable<KeyValuePair<string, string>> GetProperties(TestContext context) =>
context
.TestDetails.CustomProperties.Where(property =>
.Metadata.TestDetails.CustomProperties.Where(property =>
!property.Key.Equals("TestGroup", StringComparison.OrdinalIgnoreCase)
)
.SelectMany(property =>
Expand Down