-
Notifications
You must be signed in to change notification settings - Fork 29
Add e2e test for dataset paths #8641
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
Conversation
Warning Rate limit exceeded@frcroth has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 9 minutes and 49 seconds before requesting another review. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughA new end-to-end test case was added to the dataset API test suite. This test fetches dataset paths from a specific API endpoint, processes the response by relativizing certain path fields, and then compares the modified response to a stored snapshot. Changes
Possibly related PRs
Suggested reviewers
Poem
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
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.
Cool, thanks! Please have a look at the problem of the absolute path
frontend/javascripts/test/backend-snapshot-tests/__snapshots__/datasets.e2e.ts.snap
Outdated
Show resolved
Hide resolved
Now that both paths are completely hidden, the test seems a little empty. It would have caught #8639 so I’d say it’s worth having and merging it, but I wonder if we could test the actual symlink resolving somehow, while still dropping anything up to binaryData from the paths in the snapshot 🤔 But #8384 and related are certainly more important right now, so let’s not spend any time on this now. |
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.
Actionable comments posted: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (1)
frontend/javascripts/test/backend-snapshot-tests/__snapshots__/datasets.e2e.ts.snap
is excluded by!**/*.snap
📒 Files selected for processing (1)
frontend/javascripts/test/backend-snapshot-tests/datasets.e2e.ts
(1 hunks)
🧰 Additional context used
🪛 GitHub Check: frontend-tests
frontend/javascripts/test/backend-snapshot-tests/datasets.e2e.ts
[failure] 151-151:
Parameter 'magLink' implicitly has an 'any' type.
[failure] 150-150:
Parameter 'pathInfo' implicitly has an 'any' type.
⏰ Context from checks skipped due to timeout of 90000ms (2)
- GitHub Check: build-smoketest-push
- GitHub Check: backend-tests
E2E test for the datasource/.../paths route, regression test for #8639
Path and Realpath are volatile so that I can run the tests with the same results locally. When running "yarn refresh-e2e-tests" I get my personal path in there, making the results different for the runner.