-
Notifications
You must be signed in to change notification settings - Fork 16
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
feat: Track vendor approvals across version updates through result copy process #1267
Conversation
…in as a specific vendor
…dor approval status
@stalgiag this is ready again for review after updating the tests |
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.
This is great. Thanks so much for the attention to detail in updating async and comparison code where you encountered it, adding in some utility testing methods, and writing an integration test that covers this feature. It was challenging to recreate the behavior manually but I managed with your instructions. Everything works as expected and the vendor approval status was carried over to the newer candidate version about promoting it. Great work!
if (isLastTest) finishButtonRef.current.focus(); | ||
// Prevent a plan with only 1 test from immediately pushing the focus to the | ||
// submit button | ||
if (isLastTest && tests?.length !== 1) finishButtonRef.current.focus(); |
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.
Great job addressing this edge case :-)
)}'::jsonb) else element end) | ||
from jsonb_array_elements(tests) as element ) | ||
where id = ${id} | ||
and tests @> '[{"id": "${testId}"}]'; |
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.
There is some interesting JSONB work I've never seen before, especially the containment operator. No notes, just wanted to remark.
// Update TestPlanVersion.tests to include the viewers from the old | ||
// TestPlanVersion.tests | ||
// TODO: Move viewers to TestPlanReport; more appropriate and | ||
// understandable database structure |
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.
Heavy +1 on this TODO
).browser.id === '3' | ||
).toBe(true); | ||
}); | ||
}); |
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.
Very impressed that you managed to reproduce this case. These tests are very helpful!
Create December 10, 2024 Release Includes the following changes: * #1279, which addresses w3c/aria-at#1163 * #1267, which addresses #1232
Address #1232