Closed kneerose closed 2 months ago
@vpaunovic @teske00 Is this in progress then?
@bosko-m this is already done. Just, it is not yet in NPM package. Its in our repo on main branch. When we update our NPM package, and @MSzalowski update our PDF NPM package with that new version, it will be available there in current govtool.
Hello @vpaunovic
1. Search Input
<div class="MuiFormControl-root MuiFormControl-fullWidth MuiTextField-root css-3lfscr-MuiFormControl-root-MuiTextField-root" data-testid="search-input">
<div class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-fullWidth MuiInputBase-formControl MuiInputBase-adornedStart css-1q02obe-MuiInputBase-root-MuiOutlinedInput-root" data-dashlane-rid="77bdcd041ad7f2b3">
<div class="MuiInputAdornment-root MuiInputAdornment-positionStart MuiInputAdornment-outlined MuiInputAdornment-sizeMedium css-ittuaa-MuiInputAdornment-root">
<span class="notranslate">​</span>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="#212A3D" viewBox="0 0 24 24" color="#212A3D">
<path fill-rule="evenodd" d="M10 4a6 6 0 1 0 0 12 6 6 0 0 0 0-12m-8 6a8 8 0 1 1 14.32 4.906l5.387 5.387a1 1 0 0 1-1.414 1.414l-5.387-5.387A8 8 0 0 1 2 10" clip-rule="evenodd"></path>
</svg>
</div>
<input aria-invalid="false" id="outlined-basic" placeholder="Search..." type="text" class="MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputAdornedStart css-1o9s3wi-MuiInputBase-input-MuiOutlinedInput-input" value="" data-dashlane-rid="4a893a91328c158d" data-form-type="other">
<fieldset aria-hidden="true" class="MuiOutlinedInput-notchedOutline css-1d3z3hw-MuiOutlinedInput-notchedOutline">
<legend class="css-ihdtdm"><span class="notranslate">​</span></legend>
</fieldset>
</div>
</div>
The data-testid
should be inside <input>
tag instead of the <div>
tag
2. Proposal card
data-testid="proposal-${proposalId}-card"
would be better as mentioned earlier in the ticket.3. Proposal Status
data-testid="proposal-${proposal_id}-status"
.Note: Please make sure to add proper test IDs if you introduce any new components in the future. Additionally, please make these adjustments to ensure appropriate test IDs are in place.
Description:
Several components lack proper test IDs, impeding effective testing and automation
Missing test ids