дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-04 01:01:17 +02:00
Test Runner Options gets Track Running Test (also in Find Action as run.toggleTrackRunningTest), remembered with the other test tree options and on by default. While a run is in progress, each test that starts is selected, its collapsed suites opened and its output shown; when several start together the last in tree order wins. A test finishing doesn't move the selection, so a test picked by hand stays selected until the next one starts, and focus doesn't move. Co-authored-by: mansur-akhmadi <[email protected]>
27 рядки
814 B
TypeScript
27 рядки
814 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;
|
|
selectFirstFailed: boolean | null;
|
|
toggleSelectFirstFailed: (() => void) | null;
|
|
trackRunning: boolean | null;
|
|
toggleTrackRunning: (() => void) | null;
|
|
} = {
|
|
expandAll: null,
|
|
collapseAll: null,
|
|
exportResults: null,
|
|
showDurations: null,
|
|
toggleDurations: null,
|
|
selectFirstFailed: null,
|
|
toggleSelectFirstFailed: null,
|
|
trackRunning: null,
|
|
toggleTrackRunning: null,
|
|
};
|