-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
Fixes integration tests when Chrome >=105 is not installed #1202
Conversation
Code Coverage Summary
Diff against main
Results for commit: 1ab6374 Minimum allowed coverage is ♻️ This comment has been updated with latest results |
Unit Tests Summary 1 files 30 suites 2m 53s ⏱️ Results for commit 1ab6374. ♻️ This comment has been updated with latest results. |
Convert to draft so it won't be accidentally merged. |
I downloaded the internal image, install chrome, install teal and families, and I still can't reproduce the error. One thing to note is that I originally tried to install just chromium-browser, but then I encountered a blocker because it wanted to install it from Snap. Apparently, there's another setting that you'd need to do to get snap running and after couple tries, I gave up. Instead, I downloaded the chrome debian package and install it to the container.
I'm curious about the contents of our CI image. Is it a full Chrome installation like what I just did, or is it the Snap version of Chromium? Does it make a difference? |
We install Chrome like so on our CI images in GitHub. |
Oh okay, so you install the whole Chrome as well, which I think similar to what I did. Next thing we can try is to run CI test based on this branch where I use Any other ideas? |
@walkowif helped setup running CI test on this branch. Here's the result log: My suspicion is confirmed that there's a problem with Lines 241 to 257 in 6042f56
The value of
However, it's odd that it's able to retrieve the values for I wonder if it has something to do with the selector statement inside
Any idea? @insightsengineering/nest-core-dev |
@averissimo If you need to trigger the CI on this branch, please go to: |
Pipeline is confirmed successful: https://nest.pages.roche.com/-/automation/systems-integration-tests/-/jobs/46148438/artifacts/public/logs/check-teal.html The job fails, but not due to teal. |
You are the legend @averissimo |
Unit Test Performance Difference
Additional test case details
Results for commit 581bd62 ♻️ This comment has been updated with latest results. |
@averissimo I checked that it should be possible to install Chromium 120 in the images with R 4.3. |
Yes let's please install the latest version of Chromium on the container images. I believe we were installing Chrome due to Chromium only being available via Snapcraft - the latter requiring a host-level socket to be mounted on the container at build-time for it to work. Perhaps that's evolved for the better. |
Good to know ❤️ ! This PR patches the problem and creates a fallback solution for the lack of support of the relevant API. However, I think it would be best to bridge the gap between the versions of chrome among platforms (local dev, GH and integration). |
Just wanted to confirm that the images used for integration tests have been updated to include Chromium 120. |
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 looks good. Thank you! Great work done here!
@walkowif , I believe the pipeline that was created for this branch can be removed ( Thanks for the help with setting that up and for updating Chromium 🥇 |
Related to #1195
I'm focusing on
test-shinytest2-filter_panel
to gain more insight during the integration test.Changes description
el.checkVisibility()
method does not exists (isnull
)expect_setequal
instead ofexpect_equal
to compare vectors.