-
Notifications
You must be signed in to change notification settings - Fork 267
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
update developer docs #10901
Conversation
55f6a98
to
1513bb0
Compare
There was a problem hiding this 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
docusaurus/docs/testing/e2e-test.md
Outdated
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. |
There was a problem hiding this comment.
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?
There was a problem hiding this 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.
1513bb0
to
95a2278
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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