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

Error causing Cypress to crash #28451

Closed
blancadibenedetto opened this issue Dec 4, 2023 · 2 comments
Closed

Error causing Cypress to crash #28451

blancadibenedetto opened this issue Dec 4, 2023 · 2 comments
Labels
stale no activity on this issue for a long period

Comments

@blancadibenedetto
Copy link

Current behavior

Getting error:
ERR_FAILED (-2) loading 'about:blank'
Error: ERR_FAILED (-2) loading 'about:blank'
at rejectAndCleanup (node:electron/js2c/browser_init:165:7500)
at EventEmitter.stopLoadingListener (node:electron/js2c/browser_init:165:7875)
at EventEmitter.emit (node:events:527:28)

Cypress crashes. And it happens on different tests.
I'm using Electron v106 and Cypress v12.7.0

This has been a stable environment until now.
I have not made any changes.

Desired behavior

Cypress does not crash.

Test code to reproduce

Here are the 2 tests where Cypress crashed. But I don't believe it's the tests because this entire suite of test have run successfully for a long time now.

URL arthrex.com

Test1- failed at test #84 in the run
describe("Special Characters can exist in the breadcrumb", () => {
it("in ES", () => {
cy.visit("/")
cy.clearAllCookies()
cy.setCookie('countrypreference', 'mx');
cy.visit('Visit https://www.arthrex.com/es/buscar?q=VID3-000900-es-NT')
cy.get(':nth-child(3) > .d-inline-flex > [data-testid="facet-label"]').click()
cy.get('[data-testid="keymatch-card"]').click()
cy.get('[data-testid="crumb1"]').should('contain', 'Reparación de raíz meniscal Knee Scorpion™ y FlipCutter')
});

it("in DE", () => { 
    cy.visit("/")
    cy.clearAllCookies()
    cy.ChangeCountry('Germany')
    cy.get('[data-testid="privacySettingsAcceptAll"]').click()
    cy.search('PAN1-00016-DE')
    cy.get(':nth-child(3) > .d-inline-flex > [data-testid="facet-label"]').click()
    cy.get('[data-testid="keymatch-card"]').click()
    cy.get('[data-testid="crumb1"]').should('contain', 'Patientenaufklärung; Eröffnung des Karpaltunnels mit dem Centerline™ System')
});

it("in PT", () => { 
    cy.visit("/")
    cy.clearAllCookies()
    cy.setCookie('countrypreference', 'br');
    cy.visit('Visit https://www.arthrex.com/search?q=VPT1-00981-PT')
    cy.get(':nth-child(3) > .d-inline-flex > [data-testid="facet-label"]').click()
    cy.get('[data-testid="keymatch-card"] > .col-sm-4 > [data-testid="image-link-anchor"] > .image-link_videoIconOverlay__2fYoj').click()
    cy.get('[data-testid="crumb1"]').should('contain', 'A experiência Arthrex em Educação Médica')
});

Test2-failed at test #78 in the run

describe("As a user of Arthrex.com I need to access a PDF Asset", () => {
it("Verify PDF Asset displays", () => {
cy.visit('/' +'/resources')
cy.get('#asset-menustyle > div > .media-query > :nth-child(4) > a').click({ force: true })
cy.get('h5 > span:nth-of-type(2)').should('contain', 'Surgical Technique Guides')
});

})

Cypress Version

12.7.0

Node version

v16.14.0

Operating System

Windows 10 - Version 22H2

Debug Logs

No response

Other

No response

@cypress-app-bot
Copy link
Collaborator

This issue has not had any activity in 180 days. Cypress evolves quickly and the reported behavior should be tested on the latest version of Cypress to verify the behavior is still occurring. It will be closed in 14 days if no updates are provided.

@cypress-app-bot cypress-app-bot added the stale no activity on this issue for a long period label Jun 2, 2024
@cypress-app-bot
Copy link
Collaborator

This issue has been closed due to inactivity.

@cypress-app-bot cypress-app-bot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale no activity on this issue for a long period
Projects
None yet
Development

No branches or pull requests

2 participants