pull/4057/head^2
lianahus 1 year ago committed by Aniket
parent 2c1b9e9482
commit 079093b3a2
  1. 16
      libs/remix-ui/solidity-unit-testing/src/lib/solidity-unit-testing.tsx

@ -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>

Loading…
Cancel
Save