Open kneerose opened 3 weeks 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.
See only these ones on dev-sancho now:
A text: || data-testid: logo-button VM658:26 A text: |Dashboard| data-testid: dashboard-link VM658:26 A text: |DRep Directory| data-testid: drep-directory-link VM658:26 A text: |Governance Actions| data-testid: governance-actions-link VM658:26 A text: |Proposal Discussion| data-testid: proposal-discussion-link VM658:26 A text: |Guides| data-testid: guides-link VM658:26 A text: |FAQs| data-testid: faqs-link VM658:26 IMG text: || data-testid: copy-button VM658:26 P text: |drep1pzuxy8ukuvffjyyrdp8sxkzp3z8r57z5q0jtgxhwu3a22t9ppel| data-testid: dRep-id-display VM658:26 BUTTON text: |Disconnect| data-testid: disconnect-button VM658:26 A text: |Privacy policy| data-testid: privacy-policy-footer-link VM658:26 A text: |Term of service| data-testid: term-of-service-footer-link VM658:26 BUTTON text: |Help| data-testid: help-footer-button VM658:26 BUTTON text: |Feedback| data-testid: feedback-footer-button VM658:26 DIV text: |Wallet connected| data-testid: alert-success VM658:26 svg text: |undefined| data-testid: SuccessOutlinedIcon VM658:26 svg text: |undefined| data-testid: CloseIcon
@MSzalowski This should be assigned to you, right? Because everything in on GovTool
CC: @teske00 @bosko-m @ValMBO @m-i-k-e
Hi @vpaunovic, Which version of the PDF npm package has this issue fixed?
Hello @vpaunovic ,
I noticed that the proposal form, review page, and edit proposal forms still have missing test IDs. I mentioned this in issue on above (issue #1070 ), but it appears the changes have not yet been made. Here are the references for the missing test IDs
Hello @vpaunovic
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.
@kneerose This is included in the latest package prepared yesterday so it should be verifiable soon.
Hello @bosko-m
1. Title Input
<div class="MuiFormControl-root MuiFormControl-fullWidth MuiTextField-root css-wb57ya-MuiFormControl-root-MuiTextField-root" data-testid="title-input">
<label class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-sizeMedium MuiInputLabel-outlined MuiFormLabel-colorPrimary MuiFormLabel-filled Mui-required MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-sizeMedium MuiInputLabel-outlined css-1peu7hn-MuiFormLabel-root-MuiInputLabel-root" data-shrink="true" for=":r5pl:" id=":r5pl:-label">Title<span aria-hidden="true" class="MuiFormLabel-asterisk MuiInputLabel-asterisk css-wgai2y-MuiFormLabel-asterisk"> *</span></label>
<div class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-fullWidth MuiInputBase-formControl css-4r00uj-MuiInputBase-root-MuiOutlinedInput-root">
<input aria-invalid="false" id=":r5pl:" required="" type="text" class="MuiInputBase-input MuiOutlinedInput-input css-1t8l2tu-MuiInputBase-input-MuiOutlinedInput-input" value=" " data-dashlane-rid="29d126c88d925c7b" data-form-type="other">
<fieldset aria-hidden="true" class="MuiOutlinedInput-notchedOutline css-1d3z3hw-MuiOutlinedInput-notchedOutline">
<legend class="css-14lo706"><span>Title *</span></legend>
</fieldset>
</div>
</div>
data-testid
attribute should be inside the <input>
tag instead of the <div>
tag.abstract-input
, motivation-input
, rationale-input
, and link-input
in both proposal creation and edit proposal sections.<input>
tag for input field2. Draft saved modal
delete-proposal-yes-button
, but it is not a delete proposal yes button. Please add a proper test ID.
The package has not yet been imported into govtool, we will report here when it is. We have version 0.2.3
@teske00 Was this part of the last weeks release?
Description:
Missing test IDs
show-all-button for show all
draft-${draft_id}-card for each draft card
draft-${draft_id}-start-editing for each draft start editing button
save-draft-button for save draft![image](https://github.com/IntersectMBO/govtool/assets/49801844/79ab0fe9-84a4-4294-8f0d-f69b6cfb7f3a)
Important: Please ensure to add proper test IDs as defined on previous proposal submission flow