-
Notifications
You must be signed in to change notification settings - Fork 8k
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
chore: Routing form - Add submitted_at and Sort entries with latest on top #17491
Conversation
@anikdhabal is attempting to deploy a commit to the cal Team on Vercel. A member of the Team first needs to authorize it. |
Graphite Automations"Add consumer team as reviewer" took an action on this PR • (11/05/24)1 reviewer was added to this PR based on Keith Williams's automation. |
E2E results are ready! |
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.
Check out the failing test
/* TODO: Find a way to incorporate Routed To, Booked At, Submitted At into the report | ||
expect(responses).toEqual([ | ||
["event-routing", "Option-2", "Option-2", "Option-2", "Option-2", "", ""], | ||
["external-redirect", "Option-2", "Option-2", "Option-2", "Option-2", "", ""], | ||
["custom-page", "Option-2", "Option-2", "Option-2", "Option-2", "", ""], | ||
]); | ||
]); */ |
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.
We need to handle those three responses in a other way; will make a follow-up PR
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.
Why don't we add extra string to the arrays above to get the test passed? In most cases, we shouldn't comment out test cases.
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.
Adding an empty string won't fix it since it's a dynamic value, but I handled it another way
/* TODO: Find a way to incorporate Routed To, Booked At, Submitted At into the report | ||
expect(responses).toEqual([ | ||
["event-routing", "Option-2", "Option-2", "Option-2", "Option-2", "", ""], | ||
["external-redirect", "Option-2", "Option-2", "Option-2", "Option-2", "", ""], | ||
["custom-page", "Option-2", "Option-2", "Option-2", "Option-2", "", ""], | ||
]); | ||
]); */ |
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.
Why don't we add extra string to the arrays above to get the test passed? In most cases, we shouldn't comment out test cases.
Left 1 comment. p.s. Can you please create a branch in the repo, not your fork from next time? e.g., It takes extra effort to fetch, review, push, etc if you open a PR from fork. |
What does this PR do?
Mandatory Tasks (DO NOT REMOVE)
How should this be tested?
Checklist