-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Missing Test IDs (Drep Directory) #1050
Comments
OK - found id: Delegation Page: (Mention on #1038 ) signal-no-confidence-card. FOUND Element: DIV OK for DRep registration: Element: INPUT Element: INPUT Element: TEXTAREA Element: P Element: INPUT OK - on Drep Registration - Download button: Element: BUTTON <button class="MuiButtonBase-root MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeMedium MuiButton-outlinedSizeMedium MuiButton-colorPrimary MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeMedium MuiButton-outlinedSizeMedium MuiButton-colorPrimary css-nkeny4" tabindex="0" type="button" data-testid="metadata-download-button"> |
OK for - Missing test Id on DRep Card DRep card -> test id = drep1qzw234c0ly8csamxf8hrhfahvzwpllh2ckuzzvl38d22wwxxquu-drep-card data-testid: drep1pzuxy8ukuvffjyyrdp8sxkzp3z8r57z5q0jtgxhwu3a22t9ppel-drep-card
Element: P Element: P status -> test id = status data-testid: drep1qzts73jthmvqjee2m0x7jqm8snn0ycqxcduf9xqec2n3x3u6ge9-st Delegated DRep card -> test id = drep14px384j0j20psnezaf95yppvsqh9hnu73yxpv87yugzujn97t9y-delegated-card Element: DIV |
OK NOW for Missing voting power test id on drep details Element: P OK - found : add-link-button for the "Add Link" button. name-input for the name input field. email-input for the email input field. bio-input for the bio input field. link-input for the link input field. OK for missing voting power test id on dashboard Element: P |
@kneerose found all mentioned test id - take look and let us know how they work |
Hi @pmbinapps , It seems like you've made changes to the test IDs for other components:
While I appreciate the improvements, could you please avoid changing previously assigned test IDs? Our tests are failing because of these modifications. |
@NabinKawan I guess there could be so duplicate, thus that change. |
Hi @pmbinapps, Can we close this related issue after merging it into the test branch? We still cannot verify it. |
Hello @pmbinapps , Some components still have missing test IDs. I have listed all the missing and incorrect test IDs below. Please confirm and update them accordingly.
|
@MSzalowski any update on this ? |
The missing test IDs are crucial as they can make some tests flaky, especially the metadata button test for editDRep. Currently, we are locating the button by testId using Therefore, it is necessary to add test IDs to fix the flaky test. Here are some flaky tests related to this issue: |
@jdyczka any update on this? |
[#1050] Add missing data-testid attributes
Description:
Missing Test Ids
Delegation Page: (Mention on #1038 )
DRep registration
The data-testid should be moved to the input tag for proper identification and testing.
Missing test Id on DRep Card
DRep card -> test id = drep1qzw234c0ly8csamxf8hrhfahvzwpllh2ckuzzvl38d22wwxxquu-drep-card
voting power -> test id = voting-power
status -> test id = status
Delegated DRep card -> test id = drep14px384j0j20psnezaf95yppvsqh9hnu73yxpv87yugzujn97t9y-delegated-card
Missing voting power test id on drep details
Missing test IDs on edit DRep info
missing voting power test id on dashboard
Important: Please ensure to add proper test IDs for all interactive elements to facilitate testing and automation.
The text was updated successfully, but these errors were encountered: