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
[regression] WCT requires internet access to run local tests #2976
Comments
I made a PR (Polymer/wct-local#11) that gives you the option of not doing the selenium installation. This would give you a workaround, but I guess that ideally it wouldn't do the install at all if the current version was already installed. |
@arthurevans can be closed as it's already merged you can use it like this |
I'm seeing this issue now. My network connectivity is intermittent, and I still want to develop tests, but sometimes |
Even with When there is internet the installation is skipped and all tests are run successfully. Without internet access (e.g. corporate proxy) the testing process hangs after Selenium started. PS: Exact command used: |
@terusus I've run into the hanging issue, and sometimes it works to set the environment variables for the terminal you are using. I have in my
I do not know if that is your specific issue but maybe it might help. |
@silenceisgolden I know how to set the proxy settings for npm and the terminal in general. However, my goal is to make it work without a network connection. Setup once from a validated source. And forget about the internet. |
The fix is resolving localhost as an ipv4. So |
Yes I had to go offline for this to work. I am behind a strict firewall, and currently working within a VPN. |
I just tried
I already have all those files downloaded. |
Hi @redbugz - pay attention to the file names. When you download the archives you have to extract the content, move it to the correct folder and rename it accordingly. Also make sure that in your hosts file localhost resolves to an IPv4. |
(Towards polymer/web-component-tester#215) This behavior for this option was already built-in to the plugin but there was no way to enable it.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
WCT verifies it has data that already exists before it will run tests. This makes testing on a plane or at Polymer Summit completely impossible. I'm unable to run tests even though I have everything downloaded. The call to fetch/check drivers should be smarter.
Connected output
Offline output
The text was updated successfully, but these errors were encountered: