Skip to content
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

[docs] Add a note about testing websites served over a VPN #5758

Merged
merged 11 commits into from
Dec 16, 2020

Conversation

DIRECTcut
Copy link
Contributor

fixes #5704

@DIRECTcut DIRECTcut changed the title Add a note about testing websites with VPN [docs] Add a note about testing websites with VPN Dec 1, 2020
@DIRECTcut DIRECTcut added the AREA: docs An issue related to the product documentation. label Dec 1, 2020
@DIRECTcut DIRECTcut self-assigned this Dec 1, 2020
@DIRECTcut DIRECTcut changed the title [docs] Add a note about testing websites with VPN [docs] Add a note about testing websites served over a VPN Dec 1, 2020
@DIRECTcut DIRECTcut marked this pull request as ready for review December 3, 2020 11:16
If the tested website is served via OpenVPN, TestCafe may be unable to detect an IP address from where to retrieve the website. In this case, the following error occurs:

```text
<browsername> can't open the page "https://localhost:<port>/browser/connect/<windowid>"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://localhost

Why is localhost in this message?
I thought that TestCafe tries to open localhost only when you specify --hostname localhost explicitly (an approach that you propose as a solution). Otherwise, it uses an IP.

Is this behavior specific to the VPN issue (that TestCafe uses localhost by default)?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Otherwise, it uses an IP.

Seems like sometimes TestCafe picks an IP that belongs to the VPN connection (which leads to the aforementioned error).

@DIRECTcut DIRECTcut requested a review from AndreyBelym December 8, 2020 07:57
@DIRECTcut DIRECTcut requested a review from miherlosev December 14, 2020 07:09
@DIRECTcut DIRECTcut requested a review from miherlosev December 15, 2020 11:00
Co-authored-by: DirkPieterse <[email protected]>
@DIRECTcut DIRECTcut closed this Dec 16, 2020
@DIRECTcut DIRECTcut reopened this Dec 16, 2020
@testcafe-build-bot
Copy link
Collaborator

❌ Tests for the commit f7e6c96 have failed. See details.

@testcafe-build-bot
Copy link
Collaborator

@DIRECTcut DIRECTcut merged commit a7052d9 into DevExpress:master Dec 16, 2020
@DIRECTcut DIRECTcut deleted the docs5704-vpn-testing branch December 16, 2020 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AREA: docs An issue related to the product documentation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a note about testing sites via VPN
5 participants