-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Fix the e2e test failure in the integration tests #751
Conversation
CLA Assistant Lite bot ✅ All contributors have signed the CLA |
I have read the CLA Document and I hereby sign the CLA |
Code Coverage Summary
Diff against main
Results for commit: 7c53c47 Minimum allowed coverage is ♻️ This comment has been updated with latest results |
Unit Tests Summary 1 files 22 suites 10m 18s ⏱️ Results for commit 7c53c47. ♻️ This comment has been updated with latest results. |
Unit Test Performance Difference
Results for commit a6e647b ♻️ This comment has been updated with latest results. |
There is a different R CMD CHeck error that I see in this PR and in my other PR in this repo |
Yes, that's right @m7pr! app_driver <- app_driver_tm_front_page()
app_driver <- app_driver_tm_missing_data() With the error log: Error in `app_initialize(self, private, app_dir = app_dir, ..., load_timeout = load_timeout,
timeout = timeout, wait = wait, expect_values_screenshot_args = expect_values_screenshot_args,
screenshot_args = screenshot_args, check_names = check_names,
name = name, variant = variant, view = view, height = height,
width = width, seed = seed, clean_logs = clean_logs, shiny_args = shiny_args,
render_args = render_args, options = options)`: Shiny app did not become stable in 1e+05ms.
Message: An error occurred while waiting for Shiny to be stable
Caused by error in `app_wait_for_idle()`:
! An error occurred while waiting for Shiny to be stable |
The root cause of the issue was that the chromote browser was unable to render the PDF file without a plugin with the following error in the terminal:
Note that this test is a bit flaky, I was only able to reproduce the error a few times. Sometimes it passed without any error.
To reproduce this issue you can try the following:
Please make sure you have the dev version of
teal
.The URL in the
app_driver$open_url()
works fineThe URL in the
app_driver$view()
shows the errorCouldn't load plugin.
The fix is to use some other file format, here we use a
PNG
file to fix this. In the future, we should test all the files and make sure they work.