Skip to content

Commit

Permalink
Only start tests for test providers that are ready to run
Browse files Browse the repository at this point in the history
  • Loading branch information
ghengeveld committed Oct 17, 2024
1 parent 448cc6a commit e9523db
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion code/core/src/manager/components/sidebar/TestingModule.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,9 @@ export const TestingModule = ({
padding="small"
onClick={(e: SyntheticEvent) => {
e.stopPropagation();
testProviders.forEach(({ id }) => onRunTests(id));
testProviders
.filter((state) => !state.crashed && !state.running && state.runnable)
.forEach(({ id }) => onRunTests(id));
}}
disabled={running}
>
Expand Down

0 comments on commit e9523db

Please sign in to comment.