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

Cypress 13.9.0: Chrome fails when visiting subdomains. #30395

Open
ryan-n-may opened this issue Oct 11, 2024 · 0 comments
Open

Cypress 13.9.0: Chrome fails when visiting subdomains. #30395

ryan-n-may opened this issue Oct 11, 2024 · 0 comments

Comments

@ryan-n-may
Copy link

ryan-n-may commented Oct 11, 2024

Current behavior

Currently...
When visiting a domain, starting a session, and in that session visiting a new subdomain, chrome fails the test on a cy.wait() timeout. This does not happen for the electron browser.

Desired behavior

Subdomains should be navigable.

Test code to reproduce

BDD:

@baselinetodo
Feature: CSV upload
    Scenario: Import from csv file
        Then I navigate to the same subdomain
        Then I navigate to a different subdomain

Step defintions:

import { Then } from "@badeball/cypress-cucumber-preprocessor";

Then('I navigate to the same subdomain', () => {
  cy.visit('https://jmfenner91.tumblr.com/');
  cy.wait(5000);
  cy.session('id1', () => {
    cy.visit('https://jmfenner91.tumblr.com/About')
    cy.get('body', { timeout: 240000 })
  })
})

Then('I navigate to a different subdomain', () => {
  cy.visit('https://jmfenner91.tumblr.com/');
  cy.wait(5000);
  cy.session('id2', () => {
    cy.visit('https://petitworld.tumblr.com/')
    cy.get('body', { timeout: 240000 })
  })
})

Cypress Version

13.9.0

Node version

20.13.1

Operating System

MacOS 14.2 (23C64)

Debug Logs

No response

Other

Screenshots:
Working in electron:
image
Fails in chrome:
image
Page itself is navigable in viewfinder
image
No Network requests failing:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant