Conversation
✅ Deploy Preview for rstest-dev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
Pull Request Overview
This PR adds retry configuration for the shortcuts test case to improve test reliability. The change configures the test framework to retry failing tests up to 3 times.
Key Changes
- Imports the
rsconfiguration object from the test framework - Sets a global retry configuration of 3 attempts for test cases in the shortcuts test file
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.
| rs.setConfig({ | ||
| retry: 3, | ||
| }); | ||
|
|
There was a problem hiding this comment.
[nitpick] Global test configuration should be moved to a setup file or test configuration rather than being set in individual test files. This ensures consistent behavior across all tests and avoids duplication.
Summary
add retry for shortcuts case.
Related Links
Checklist