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

top-level domain .dev in baseURL makes webkit to open blankPage instead of tests #27394

Open
Bohdan-Hevlich opened this issue Jul 26, 2023 · 5 comments
Labels
browser: webkit Issue related to Webkit (Safari) browser E2E Issue related to end-to-end testing experiment: webkit Issues when using experimentalWebkitSupport Triaged Issue has been routed to backlog. This is not a commitment to have it prioritized by the team. type: bug

Comments

@Bohdan-Hevlich
Copy link

Bohdan-Hevlich commented Jul 26, 2023

Current behavior

Right now if baseUrl in config file has .dev domain - it makes webkit to open blankPage instead of tests.
Screenshot 2023-07-26 at 16 55 38

Desired behavior

Cypress webkit should open tests with all available top-level domains.

Test code to reproduce

cypress.config.js
module.exports = {
  e2e: {
    setupNodeEvents(on, config) {},
    experimentalWebKitSupport: true,
    baseUrl: "https://get.dev/",
  },
};

Cypress Version

12.10.0

Node version

v18.16.1

Operating System

macOS Ventura 13.1

Debug Logs

No response

Other

"playwright-webkit": "1.34"
@Bohdan-Hevlich
Copy link
Author

If trying to run headless with the same settings you get this error:
page.goto: An SSL error has occurred and a secure connection to the server cannot be made.
=========================== logs ===========================
navigating to "https://get.dev/__/#/specs/runner?file=cypress/e2e/spec.cy.js", waiting until "load"

@nagash77
Copy link
Contributor

Hi @Bohdan-Hevlich I just want to clarify that this test works when run in chrome and electron? It is only failing in webkit?

@nagash77 nagash77 self-assigned this Jul 27, 2023
@Bohdan-Hevlich
Copy link
Author

Hi @nagash77 yes, it is working in chrome, electron, mozila but not working in webkit

@nagash77 nagash77 added browser: webkit Issue related to Webkit (Safari) browser experiment: webkit Issues when using experimentalWebkitSupport labels Jul 27, 2023
@nagash77 nagash77 removed their assignment Aug 7, 2023
@nagash77 nagash77 added Triaged Issue has been routed to backlog. This is not a commitment to have it prioritized by the team. E2E Issue related to end-to-end testing labels Aug 7, 2023
@Bohdan-Hevlich
Copy link
Author

@nagash77 Hi, is there any update about this issue? It totally blocks testing safari browser for my project. And this browser is critical part for us...

@MarkoKolasinac
Copy link

We had the same issue.
This only applies to OSX. On win the same project works fine.
On windows, all is good. So I guess some internal dependency DNS resolution of the .dev domain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
browser: webkit Issue related to Webkit (Safari) browser E2E Issue related to end-to-end testing experiment: webkit Issues when using experimentalWebkitSupport Triaged Issue has been routed to backlog. This is not a commitment to have it prioritized by the team. type: bug
Projects
None yet
Development

No branches or pull requests

4 participants