Files
openidea/src/features/run/testTree.ts
T
l0ng-ai 0164e82e32 fix(run): group test navigation and display options (#5027)
The test results toolbar groups its filters together and moves Previous and Next Failed Test into More Actions, where the shortcuts are shown next to their labels. Test Runner Options can hide row durations to give long test names more room. The choice is remembered across sessions and the test summary and selected output remain visible.
2026-11-22 00:52:11 +08:00

19 lines
544 B
TypeScript

/** Context key: the test results tree has focus. */
export const TEST_TREE_FOCUS = "testTreeFocus";
/** Actions on the test results tree shown in Run. */
export const testTree: {
expandAll: (() => void) | null;
collapseAll: (() => void) | null;
/** Null while the run is in progress or has no results. */
exportResults: (() => void) | null;
showDurations: boolean | null;
toggleDurations: (() => void) | null;
} = {
expandAll: null,
collapseAll: null,
exportResults: null,
showDurations: null,
toggleDurations: null,
};