Add shinytest2 tests for bslib#653
Conversation
averissimo
left a comment
There was a problem hiding this comment.
Tests seem ok! Great work finding the selectors.
Check out the comments, some of them can be transposed to MAE
llrs-roche
left a comment
There was a problem hiding this comment.
The selectors was thanks to Vedha guidance.
I have addressed most if not all of the minor comments but I'll ping you after testing for non empty elements and adding a new filter. Thanks for the review!
Unit Tests Summary 1 files 31 suites 28s ⏱️ Results for commit e6898e8. ♻️ This comment has been updated with latest results. |
Unit Test Performance Difference
Additional test case details
Results for commit d8b4dbd ♻️ This comment has been updated with latest results. |
|
This PR is close to 100% as it:
|
llrs-roche
left a comment
There was a problem hiding this comment.
Thanks for the feedback . I've redacted again the descriptions I hope they are descriptive enough .
Adding screenshot tests increased the package size a lot so I decided against it. But I see your point about regression tests and UI test. When similar concerns on teal.transform were raised Vedha suggested only testing the interactivity/elements: insightsengineering/teal.widgets#298 (comment)
gogonzo
left a comment
There was a problem hiding this comment.
Hard to say what tests should cover. There is no description in the issue nor in the PR initial comment. I can't approve PR if I don't know what is the expected coverage.
Besides, tests description are misleading or ambiguous. Test are very selective and seem to lack a concrete objective.
|
As per our discussions the tests were rewritten from scratch following the TOC we elaborated: General comments:
DF:
MAE:
|
…eal.slice into 651_regr_test@main
llrs-roche
left a comment
There was a problem hiding this comment.
Updated per feedback on comments. I removed all the keep_na and keep_inf of teal_slice.
gogonzo
left a comment
There was a problem hiding this comment.
👍 Please merge once CICD is ready
Pull Request
Fixes #651