Skip to content
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

update developer docs #10901

Merged
merged 1 commit into from
May 8, 2024
Merged

update developer docs #10901

merged 1 commit into from
May 8, 2024

Conversation

yonasberhe23
Copy link
Contributor

Summary

Fixes #rancher/qa-tasks#1293

Occurred changes and/or fixed issues

Update docs to include best practices discussed with the UI team regarding how to utilize POs and cleaning up resources at the end of tests.

Checklist

  • The PR is linked to an issue and the linked issue has a Milestone, or no issue is needed
  • The PR has a Milestone
  • The PR template has been filled out
  • The PR has been self reviewed
  • The PR has a reviewer assigned
  • The PR has automated tests or clear instructions for manual tests and the linked issue has appropriate QA labels, or tests are not needed
  • The PR has reviewed with UX and tested in light and dark mode, or there are no UX changes

Copy link
Member

@richard-cox richard-cox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One tiny request, otherwise looks like a good addition

Note: When selecting an element be sure to use the attribute `data-testid`, even in case of lists where elements are distinguished by an index suffix.

### Best Practices to keep in mind when writing tests

- When selecting an element be sure to use the attribute `data-testid`, even in case of lists where elements are distinguished by an index suffix.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we change this to request if the data-testid exist it should be used?

Copy link
Contributor

@izaac izaac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, let's address other reviews and I'll do a final pass.

Copy link
Contributor

@izaac izaac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@izaac izaac merged commit a198835 into rancher:master May 8, 2024
25 checks passed
@yonasberhe23 yonasberhe23 deleted the update_docs branch May 16, 2024 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants