cypress-io / cypress

Fast, easy and reliable testing for anything that runs in a browser.
https://cypress.io
MIT License
46.59k stars 3.15k forks source link

cypress/runner/popper.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE #23648

Open taydin-git opened 1 year ago

taydin-git commented 1 year ago

Current behavior

I try to run my application but cypress gives net::ERR_HTTP_RESPONSE_CODE_FAILURE error and also,

(uncaught exception)TypeError: Illegal invocation error message while clicking. a button.

Desired behavior

I should be able to click on the button.

Test code to reproduce

For the security reasons, I can't provide the code. This is how my e2e.js file looks

import './commands';
import '@shelex/cypress-allure-plugin';
import 'cypress-real-events/support';

// Alternatively you can use CommonJS syntax:
// require('./commands')
const resizeObserverLoopErrRe = /^[^(ResizeObserver loop limit exceeded)]/
Cypress.on('uncaught:exception', (err) => {
    /* returning false here prevents Cypress from failing the test */
    if (resizeObserverLoopErrRe.test(err.message)) {
        return false
    }
})

Cypress Version

10.4.0

Node version

v14.19.0

Operating System

macOS 12.3.1

Debug Logs

No response

Other

No response

nagash77 commented 1 year ago

@taydin-git Right now there doesn't seem to be enough information to reproduce the problem on our end. Unless we receive a reliable reproduction, we'll eventually have to close this issue until we can reproduce it. This does not mean that your issue is not happening - it just means that we do not have a path to move forward.

Please provide a reproducible example of the issue you're encountering. Here are some tips for providing a Short, Self Contained, Correct, Example and our own Troubleshooting Cypress guide.

nagash77 commented 1 year ago

Unfortunately we have to close this issue due to inactivity. Please comment if there is new information to provide concerning the original issue and we can reopen.

NikitaSheff commented 1 year ago

Hi! I have reproduced this issue on Cypress 10.10 HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE node 18.10 This issue is observed when I'm trying to visit my site

nagash77 commented 1 year ago

@NikitaSheff Please provide a reproducible example of the issue you're encountering. Here are some tips for providing a Short, Self Contained, Correct, Example and our own Troubleshooting Cypress guide.

manoharaataleait commented 1 year ago

Yes I'm also getting same error while running the script /__cypress/runner/popper.js.map HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

manoharaataleait commented 1 year ago

Please explain me how to resolve this issue

nagash77 commented 1 year ago

Hi @manhoraatalea , As previous comments have stated we do not have a reproducible example. If you can provide one we can reopen this ticket for investigation, otherwise there isn't enough information for our developers to investigate.

NikitaSheff commented 1 year ago

On cypress v12.2.0 I'm still getting same error for Electron browser, for Chrome browser site loads correctly image

d-led commented 1 year ago

here's an example to reproduce:

Screenshot 2022-12-22 at 17 00 29
emilyrohrbough commented 1 year ago

I am able to repo the popper.js.map issue by running the reproduction @d-led provided (thank you!) Does this impact your ability to run tests or are you just seeing this in the console? I'm noticing it but it seems test cases I've tried are working fine.

@taydin-git it seems error with clicking the button is related to (uncaught exception)TypeError: Illegal invocation. Are you able to provide a reproduction for this error or have you been able to solve this on your end? Seems like it'd be coming from your application under test.

d-led commented 1 year ago

The console message doesn’t affect the testing, indeed.

mendo94 commented 1 year ago

https://github.com/atomiks/tippyjs/issues/1049#issuecomment-1133279566

manoharaataleait commented 1 year ago

Net:: ERR_EMPTY_RESPONSE still getting same error is not resolved

manoharaataleait commented 1 year ago

When try to run the Cypress run --browser=chrome with specific test but cypress open able to run.