IntersectMBO / govtool

🔩 GovTool and utilities monorepo.
https://gov.tools
Apache License 2.0
13 stars 7 forks source link

[BUG] Missing test ids (Governance Action proposal) #1070

Closed kneerose closed 2 months ago

kneerose commented 4 months ago

Description

Missing Test Ids

image

Screenshot from 2024-05-22 13-55-03

Screenshot from 2024-05-22 14-18-58

pmbinapps commented 4 months ago

OK On Edit page: Test ID found: title-input Test ID found: abstract-input Test ID found: motivation-input Test ID found: rationale-input Test ID found: receiving-address-input Test ID found: amount-input Test ID not found: link-input --> link-1-input OK Test ID found: add-link-button

pmbinapps commented 4 months ago

NOT OK - on content page, ids have new line char, eg:

Image

pmbinapps commented 4 months ago

OK NOW:

DIV text: A 899448.985635| data-testid: voting-power-chips svg text: [undefined| data-testid: InfoOutlinedIcon P text: A 899448.985635| data-testid: voting-power-chips-value DIV text: [Back to dashboard| data-testid: Back-to-dashboard-link svg text: [undefined| data-testid: ArrowBackIosIcon INPUT text: | data-testid: governance-action-type-input P text: |To change the Governance Action Type go back to the previous page. I data-testid: to-change-the-governance-action-type-go-back-to-the-previous-page.-error INPUT text: | data-testid: title-input TEXTAREA text: || data-testid: abstract-input P text: [General summary of the Action| data-testid: general-summary-of-the-action-error TEXTAREA text: || data-testid: motivation-input P text: |How will this solve a problem| data-testid: how-will-this-solve-a-problem-error TEXTAREA text: || data-testid: rationale-input P text: |Put all the content of the GA here| data-testid: put-all-the-content-of-the-ga-here-error INPUT text: || data-testid: receiving-address-input INPUT text: || data-testid: amount-input INPUT text: || data-testid: link-1-input BUTTON text: |+ Add link| data-testid: add-link-button BUTTON text: Back| data-testid: back-button BUTTON text: | Continuel data-testid: continue-button A text: [Privacy policyl data-testid: privacy-policy-footer-link A text: |Term of servicel data-testid: term-of-service-footer-link BUTTON text: |Help| data-testid: help-footer-button BUTTON text: | Feedback| data-testid: feedback-footer-button

@Sworzen1 id for element below seems to be invalid, ends with .-error

P text: |To change the Governance Action Type go back to the previous page. I data-testid: to-change-the-governance-action-type-go-back-to-the-previous-page.-error

NabinKawan commented 3 months ago

Hi @pmbinapps, Can we close this related issue after merging it into the test branch? We still cannot verify it.

kneerose commented 2 months ago

I am closing this issue because this functionality has been moved to the proposal creation process. https://github.com/IntersectMBO/govtool/issues/1237