Skip to content

Commit

Permalink
when there are no matching tests - just show the message with no tests
Browse files Browse the repository at this point in the history
  • Loading branch information
opishcheiko committed Jul 31, 2020
1 parent 1c331b2 commit eb535b1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions pages/tests/[testsByRunId].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -244,11 +244,7 @@ function Tests(props: Props) {
></ListOfSuites>
) : (
<div>
<Typography style ={{fontStyle:'italic', margin:"10px", color: "red"}}>Sorry, there was no matching tests for this filter, showing full list of tests</Typography>
<ListOfSuites
children={props.test_history}
stats={["1", "2", "3", "5"]}
></ListOfSuites>
<Typography style ={{fontStyle:'italic', margin:"20px", color: "red"}}>Sorry, there are no matching tests for this filter</Typography>
</div>
)}
</Paper>
Expand Down

0 comments on commit eb535b1

Please sign in to comment.