Fixes integrations tests using wait_for_js implementation for visibility#673
Merged
averissimo merged 6 commits intomainfrom Jan 20, 2026
Merged
Fixes integrations tests using wait_for_js implementation for visibility#673averissimo merged 6 commits intomainfrom
wait_for_js implementation for visibility#673averissimo merged 6 commits intomainfrom
Conversation
Contributor
Unit Tests Summary 1 files 31 suites 41s ⏱️ Results for commit 5b70d59. ♻️ This comment has been updated with latest results. |
Contributor
Code Coverage SummaryDiff against mainResults for commit: 5b70d59 Minimum allowed coverage is ♻️ This comment has been updated with latest results |
Contributor
Unit Test Performance Difference
Results for commit 51ecc4c ♻️ This comment has been updated with latest results. |
m7pr
reviewed
Dec 22, 2025
m7pr
approved these changes
Dec 22, 2025
Contributor
m7pr
left a comment
There was a problem hiding this comment.
Looks good, left just one comment that maybe we can introduce
escape_js_selector <- function(selector) {
selector <- gsub("\\", "\\\\", selector, fixed = TRUE)
selector <- gsub('"', '\\"', selector, fixed = TRUE)
selector
}so that some functions could be simplified to
click_button_js <- function(selector) {
checkmate::assert(
.var.name = "selector",
combine = "and",
checkmate::check_string(selector)
)
selector_escaped <- escape_js_selector(selector)
sprintf("(btn = document.querySelector(\"%s\")) ? (btn.click(), true) : false;", selector_escaped)
}
Contributor
Author
|
(edit: moved my reply to the code comment) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request
Changes description
teal.widgetsandteal