|
|
|
@ -843,12 +843,16 @@ export const SolidityUnitTesting = (props: Record<string, any>) => { |
|
|
|
|
id="checkAllTests" |
|
|
|
|
className="custom-control-input" |
|
|
|
|
type="checkbox" |
|
|
|
|
data-id="testTabCheckAllTests" |
|
|
|
|
onClick={checkAll} |
|
|
|
|
checked={checkSelectAll} |
|
|
|
|
onChange={() => {}} // eslint-disable-line
|
|
|
|
|
/> |
|
|
|
|
<label htmlFor="checkAllTests" className="form-check-label mb-0 ml-4 custom-control-label text-nowrap" style={{ paddingTop: '0.125rem' }}> |
|
|
|
|
<label
|
|
|
|
|
data-id="testTabCheckAllTests" |
|
|
|
|
htmlFor="checkAllTests" |
|
|
|
|
className="form-check-label mb-0 ml-4 custom-control-label text-nowrap" |
|
|
|
|
style={{ paddingTop: '0.125rem' }} |
|
|
|
|
> |
|
|
|
|
{' '} |
|
|
|
|
<FormattedMessage id="solidityUnitTesting.selectAll" />{' '} |
|
|
|
|
</label> |
|
|
|
@ -860,14 +864,18 @@ export const SolidityUnitTesting = (props: Record<string, any>) => { |
|
|
|
|
return ( |
|
|
|
|
<div className="d-flex align-items-center pl-1 custom-control custom-checkbox" key={index}> |
|
|
|
|
<input |
|
|
|
|
data-id="singleTest" |
|
|
|
|
className="singleTest custom-control-input" |
|
|
|
|
id={elemId} |
|
|
|
|
onChange={(e) => toggleCheckbox(e.target.checked, index)} |
|
|
|
|
type="checkbox" |
|
|
|
|
checked={testFileObj.checked} |
|
|
|
|
/> |
|
|
|
|
<label className="singleTestLabel text-nowrap mb-0 form-check-label ml-4 custom-control-label text-nowrap" htmlFor={elemId} style={{ paddingTop: '0.125rem' }}> |
|
|
|
|
<label |
|
|
|
|
data-id="singleTest" |
|
|
|
|
className="singleTestLabel text-nowrap mb-0 form-check-label ml-4 custom-control-label text-nowrap" |
|
|
|
|
htmlFor={elemId} |
|
|
|
|
style={{ paddingTop: '0.125rem' }} |
|
|
|
|
> |
|
|
|
|
{testFileObj.fileName} |
|
|
|
|
</label> |
|
|
|
|
</div> |
|
|
|
|