-
Notifications
You must be signed in to change notification settings - Fork 344
cleanup test-e2e additional flags so they're easier to add #1543
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
base: main
Are you sure you want to change the base?
Conversation
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
✅ No critical issues found. The refactoring improves code maintainability by centralizing flag building. Changes look good:
|
E2E Test Results✅ All tests passed • 55 passed • 4 skipped • 710s
Tests ran across 4 shards in parallel. |
scripts/test-e2e.sh
Outdated
| # Build additional flags | ||
| ADDITIONAL_FLAGS="" | ||
| if [ -n "$TAGS" ]; then | ||
| ADDITIONAL_FLAGS="--grep $TAGS" | ||
| fi | ||
| if [ "$UI_MODE" = true ]; then | ||
| ADDITIONAL_FLAGS="$ADDITIONAL_FLAGS --ui" | ||
| fi | ||
|
|
||
| # Main execution | ||
| if [ "$LOCAL_MODE" = true ]; then | ||
| run_local_mode |
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.
style: what do you think about moving all these flags before the function defs? imo its easier to follow
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.
@wrn14897 good idea, updated!
Also fixes issue where
--uipassed incorrectlyFeedback for Claude: we currently don't support any arguments with spaces at the makefile level, so no need for space parsing