Add chromote as headless browser for testing#126
Conversation
|
this is ok but please
|
I use GitHub web client and it automatically puts the commit message. I will put a meaningful commit message going forward. I will also createa PR with partial updates instead of waiting for the final solution. Thanks for letting me know of this and I was not aware of this process |
|
@Faye-yufan maybe you can schedule a google meet with @siddhesh195 to discuss / demo how to use the git command line instead of the web interface to push / commit etc? |
|
the code looks reasonable but I have not had time to do a detailed review. |
added the documentation for chromote testing. the link where I added it is: https://github.com/animint/animint2/wiki/Testing |
removed sprintf and port argument
removed return by value
commented where virtual key-codes come from
|
I'm getting the following error on compiler test, why? also was getting that for renderer1 previously, and also currently getting it from renderer2. |
It is some GitHub Actions issue. Never got such error on my local machine but sometimes I get it on GitHub Actions. |
|
if such errors happen on github actions often, then we should find out why, debug and fix these false positives before merging this PR. |
I found a discussion about this error on chromote with some suggested workarounds: rstudio/chromote#124 |
|
rstudio/chromote#124 seems like the same error message but maybe different issue because they do not talk about github actions? |
I found another discussion where the error is reproducible for Github actions: rstudio/chromote#114 |
|
hi again so it looks like the build is working now. |
During my last commit, I increased the initialization timeout for chromote. After the submission, I ran the Github build 4 times. The random failures do not happen now. If the last commit looks good, there are no more changes to this PR |
|
great, thanks, that is good news. |
I already added my name to Authors@R in the DESCRIPTION as a part of an earlier #117 |
Use chromote as a headless browser for running tests and migrate tests to work with chromote.
Closes #124
Closes #125