From e5593019e192530d37429dfd363b8923fc88de20 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Mon, 25 Mar 2024 19:30:00 +0100 Subject: [PATCH] nits --- packages/trace-viewer/src/ui/uiModeView.tsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/trace-viewer/src/ui/uiModeView.tsx b/packages/trace-viewer/src/ui/uiModeView.tsx index f48923b6df..2cc76ff8fd 100644 --- a/packages/trace-viewer/src/ui/uiModeView.tsx +++ b/packages/trace-viewer/src/ui/uiModeView.tsx @@ -63,6 +63,8 @@ const queryParams = { reporters: searchParams.has('reporter') ? searchParams.getAll('reporter') : undefined, }; +const isMac = navigator.platform === 'MacIntel'; + export const UIModeView: React.FC<{}> = ({ }) => { const [filterText, setFilterText] = React.useState(''); @@ -395,7 +397,7 @@ export const UIModeView: React.FC<{}> = ({
Playwright
toggleTheme()} /> reloadTests()} disabled={isRunningTest || isLoading}> - { setIsShowingOutput(!isShowingOutput); }} /> + { setIsShowingOutput(!isShowingOutput); }} /> {!hasBrowsers && } = ({ {isRunningTest && progress &&
Running {progress.passed}/{runningState.testIds.size} passed ({(progress.passed / runningState.testIds.size) * 100 | 0}%)
} - runTests('bounce-if-busy', visibleTestIds)} disabled={isRunningTest || isLoading}> - testServerConnection?.stopTests({})} disabled={!isRunningTest || isLoading}> + runTests('bounce-if-busy', visibleTestIds)} disabled={isRunningTest || isLoading}> + testServerConnection?.stopTests({})} disabled={!isRunningTest || isLoading}> { setWatchedTreeIds({ value: new Set() }); setWatchAll(!watchAll);