# 3rd-party-error **Repository Path**: mirrors_cypress-io/mirrors_cypress-io_3rd-party-error ## Basic Information - **Project Name**: 3rd-party-error - **Description**: Example showing 3rd party JavaScript error - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-12-09 - **Last Updated**: 2025-11-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 3rd party JavaScript error Illustrates how Cypress test runner cannot see 3rd party domain errors, see [cypress-io/cypress/issues/4717](https://github.com/cypress-io/cypress/issues/4717) ## Install and run ```shell npm install npm run cy:open ``` Example test in [cypress/integration/spec.js](cypress/integration/spec.js) tries to load `https://www.theguardian.com/uk`. While loading there is a JavaScript error thrown in a script loaded from some 3rd party domain, not from `theguardian.com` but from some other bundle it loads from elsewhere. ![Failed test](images/failing-test.png) Notice that the error shown by Cypress is simply `Error:0` since Cypress has no access to 3rd party JavaScript coming from domains other than `theguardian.com` Even if you click on the error itself, the DevTools console does not show the stack ![Missing stack](images/error.png)