cypress-io / cypress

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

E2E tests - page cannot be reached for all browsers #28729

Open stu039 opened 6 months ago

stu039 commented 6 months ago

Current behavior

image After initial configuration of E2E tests, the chrome/edge browser that is open cannot be reached.

Desired behavior

Open chrome/edge to display the E2E test page

Test code to reproduce

I followed the setup as per the Next JS docs here https://nextjs.org/docs/pages/building-your-application/testing/cypress

Cypress Version

13.6.2

Node version

18.17.0

Operating System

windows 10

Debug Logs

cypress:server:saved_state making saved state from C:\Users\stuart.street\AppData\Local\Cypress\Cache\13.6.2\Cypress\resources\app\packages\server +94ms
  cypress:server:saved_state for project path C:\Users\stuart.street\source\repos\react-nextjs-template +0ms
  cypress:server:saved_state state path for project C:\Users\stuart.street\source\repos\react-nextjs-template +2ms
  cypress:server:appdata path: C:\Users\stuart.street\AppData\Roaming\Cypress\cy\production\projects\react-nextjs-template-831ead963c99c2efed8c43e658ca75fc\state.json +71ms
  cypress:server:saved_state full state path C:\Users\stuart.street\AppData\Roaming\Cypress\cy\production\projects\react-nextjs-template-831ead963c99c2efed8c43e658ca75fc\state.json +0ms  
  cypress:server:saved_state making saved state from C:\Users\stuart.street\AppData\Local\Cypress\Cache\13.6.2\Cypress\resources\app\packages\server +373ms
  cypress:server:saved_state missing project path, looking for project here +0ms
  cypress:server:project project has config { setupNodeEvents: '[Function setupNodeEvents]', projectRoot: 'C:\\Users\\stuart.street\\source\\repos\\react-nextjs-template', projectName: 'r
eact-nextjs-template', repoRoot: 'C:/Users/stuart.street/source/repos/react-nextjs-template', rawJson: { e2e: { setupNodeEvents: '[Function setupNodeEvents]' }, setupNodeEvents: '[Functio
n setupNodeEvents]', envFile: {}, projectRoot: 'C:\\Users\\stuart.street\\source\\repos\\react-nextjs-template', projectName: 'react-nextjs-template', repoRoot: 'C:/Users/stuart.street/so
urce/repos/react-nextjs-template' }, configFile: 'cypress.config.ts', animationDistanceThreshold: 5, arch: 'x64', baseUrl: null, blockHosts: null, chromeWebSecurity: true, clientCertifica
tes: [], defaultCommandTimeout: 4000, downloadsFolder: 'C:\\Users\\stuart.street\\source\\repos\\react-nextjs-template\\cypress\\downloads', env: {}, execTimeout: 60000, experimentalCspAl
lowList: false, experimentalFetchPolyfill: false, experimentalInteractiveRunEvents: false, experimentalRunAllSpecs: false, experimentalMemoryManagement: false, experimentalModifyObstructi
veThirdPartyCode: false, experimentalSkipDomainInjection: null, experimentalOriginDependencies: false, experimentalSourceRewriting: false, experimentalSingleTabRunMode: false, experimenta
lStudio: false, experimentalWebKitSupport: false, fileServerFolder: 'C:\\Users\\stuart.street\\source\\repos\\react-nextjs-template', fixturesFolder: 'C:\\Users\\stuart.street\\source\\re
pos\\react-nextjs-template\\cypress\\fixtures', excludeSpecPattern: '*.hot-update.js', includeShadowDom: false, keystrokeDelay: 0, modifyObstructiveCode: true, numTestsKeptInMemory: 50, p
latform: 'win32', pageLoadTimeout: 60000, port: 62221, projectId: null, redirectionLimit: 20, reporter: 'spec', reporterOptions: null, requestTimeout: 5000, resolvedNodePath: 'C:\\Program
 Files\\nodejs\\node.exe', resolvedNodeVersion: '18.17.0', responseTimeout: 30000, retries: { runMode: 0, openMode: 0, experimentalStrategy: undefined, experimentalOptions: undefined }, s
creenshotOnRunFailure: true, screenshotsFolder: 'C:\\Users\\stuart.street\\source\\repos\\react-nextjs-template\\cypress\\screenshots', slowTestThreshold: 10000, scrollBehavior: 'top', su
pportFile: 'C:\\Users\\stuart.street\\source\\repos\\react-nextjs-template\\cypress\\support\\e2e.ts', supportFolder: 'C:\\Users\\stuart.street\\source\\repos\\react-nextjs-template\\cypr
ess\\support', taskTimeout: 60000, testIsolation: true, trashAssetsBeforeRuns: true, userAgent: null, video: false, videoCompression: false, videosFolder: 'C:\\Users\\stuart.street\\sourc
e\\repos\\react-nextjs-template\\cypress\\videos', viewportHeight: 660, viewportWidth: 1000, waitForAnimations: true, watchForFileChanges: true, specPattern: 'cypress/e2e/**/*.cy.{js,jsx,
ts,tsx}', additionalIgnorePattern: [], autoOpen: false, browsers: [ { name: 'chrome', family: 'chromium', channel: 'stable', displayName: 'Chrome', version: '120.0.6099.217', path: 'C:\\P
rogram Files\\Google\\Chrome\\Application\\chrome.exe', minSupportedVersion: 64, majorVersion: '120' }, { name: 'edge', family: 'chromium', channel: 'stable', displayName: 'Edge', version
: '120.0.2210.133', path: 'C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe', minSupportedVersion: 79, majorVersion: '120' }, { name: 'electron', channel: 'stable', famil
y: 'chromium', displayName: 'Electron', version: '114.0.5735.289', path: '', majorVersion: 114 } ], clientRoute: '/__/', cypressBinaryRoot: 'C:\\Users\\stuart.street\\AppData\\Local\\Cypr
ess\\Cache\\13.6.2\\Cypress\\resources\\app', devServerPublicPathRoute: '/__cypress/src', hosts: null, isInteractive: true, isTextTerminal: false, morgan: true, namespace: '__cypress', re
porterRoute: '/__cypress/reporter', socketId: null, socketIoCookie: '__socket', socketIoRoute: '/__socket', version: '13.6.2', protocolEnabled: false, hideCommandLog: false, hideRunnerUi:
 false, cypressEnv: 'production', resolved: { animationDistanceThreshold: { value: 5, from: 'default' }, arch: { value: 'x64', from: 'default' }, baseUrl: { value: null, from: 'default' }
, blockHosts: { value: null, from: 'default' }, chromeWebSecurity: { value: true, from: 'default' }, clientCertificates: { value: [], from: 'default' }, defaultCommandTimeout: { value: 40
00, from: 'default' }, downloadsFolder: { value: 'cypress/downloads', from: 'default' }, env: {}, execTimeout: { value: 60000, from: 'default' }, experimentalCspAllowList: { value: false,
 from: 'default' }, experimentalFetchPolyfill: { value: false, from: 'default' }, experimentalInteractiveRunEvents: { value: false, from: 'default' }, experimentalRunAllSpecs: { value: fa
lse, from: 'default' }, experimentalMemoryManagement: { value: false, from: 'default' }, experimentalModifyObstructiveThirdPartyCode: { value: false, from: 'default' }, experimentalSkipDo
mainInjection: { value: null, from: 'default' }, experimentalOriginDependencies: { value: false, from: 'default' }, experimentalSourceRewriting: { value: false, from: 'default' }, experim
entalSingleTabRunMode: { value: false, from: 'default' }, experimentalStudio: { value: false, from: 'default' }, experimentalWebKitSupport: { value: false, from: 'default' }, fileServerFo
lder: { value: '', from: 'default' }, fixturesFolder: { value: 'cypress/fixtures', from: 'default' }, excludeSpecPattern: { value: '*.hot-update.js', from: 'default' }, includeShadowDom: 
{ value: false, from: 'default' }, keystrokeDelay: { value: 0, from: 'default' }, modifyObstructiveCode: { value: true, from: 'default' }, numTestsKeptInMemory: { value: 50, from: 'defaul
t' }, platform: { value: 'win32', from: 'default' }, pageLoadTimeout: { value: 60000, from: 'default' }, port: { value: null, from: 'default' }, projectId: { value: null, from: 'default' 
}, redirectionLimit: { value: 20, from: 'default' }, reporter: { value: 'spec', from: 'default' }, reporterOptions: { value: null, from: 'default' }, requestTimeout: { value: 5000, from: 
'default' }, resolvedNodePath: { value: null, from: 'default' }, resolvedNodeVersion: { value: null, from: 'default' }, responseTimeout: { value: 30000, from: 'default' }, retries: { valu
e: [Object], from: 'default' }, screenshotOnRunFailure: { value: true, from: 'default' }, screenshotsFolder: { value: 'cypress/screenshots', from: 'default' }, slowTestThreshold: { value:
 10000, from: 'default' }, scrollBehavior: { value: 'top', from: 'default' }, supportFile: { value: 'cypress/support/e2e.{js,jsx,ts,tsx}', from: 'default' }, supportFolder: { value: false
, from: 'default' }, taskTimeout: { value: 60000, from: 'default' }, testIsolation: { value: true, from: 'default' }, trashAssetsBeforeRuns: { value: true, from: 'default' }, userAgent: {
 value: null, from: 'default' }, video: { value: false, from: 'default' }, videoCompression: { value: false, from: 'default' }, videosFolder: { value: 'cypress/videos', from: 'default' },
 viewportHeight: { value: 660, from: 'default' }, viewportWidth: { value: 1000, from: 'default' }, waitForAnimations: { value: true, from: 'default' }, watchForFileChanges: { value: true,
 from: 'default' }, specPattern: { value: 'cypress/e2e/**/*.cy.{js,jsx,ts,tsx}', from: 'default' }, browsers: { value: [Array], from: 'runtime' }, hosts: { value: null, from: 'default' },
 isInteractive: { value: true, from: 'default' } }, testingType: 'e2e', state: { firstOpened: 1705409832428, lastOpened: 1705410642426, lastProjectId: null }, remote: {}, browser: null, s
pecs: [], proxyUrl: 'http://localhost:62221', browserUrl: 'http://localhost:62221/__/', reporterUrl: 'http://localhost:62221/__cypress/reporter', proxyServer: 'http://localhost:62221' } +
385ms
  cypress:server:remote-states getting remote state: { auth: undefined, origin: 'http://localhost:62221', strategy: 'file', fileServer: 'http://localhost:62222', domainName: 'localhost', 
props: null } for: http://localhost:62221 +385ms
  cypress:server:project project has config { setupNodeEvents: '[Function setupNodeEvents]', projectRoot: 'C:\\Users\\stuart.street\\source\\repos\\react-nextjs-template', projectName: 'r
eact-nextjs-template', repoRoot: 'C:/Users/stuart.street/source/repos/react-nextjs-template', rawJson: { e2e: { setupNodeEvents: '[Function setupNodeEvents]' }, setupNodeEvents: '[Functio
n setupNodeEvents]', envFile: {}, projectRoot: 'C:\\Users\\stuart.street\\source\\repos\\react-nextjs-template', projectName: 'react-nextjs-template', repoRoot: 'C:/Users/stuart.street/so
urce/repos/react-nextjs-template' }, configFile: 'cypress.config.ts', animationDistanceThreshold: 5, arch: 'x64', baseUrl: null, blockHosts: null, chromeWebSecurity: true, clientCertifica
tes: [], defaultCommandTimeout: 4000, downloadsFolder: 'C:\\Users\\stuart.street\\source\\repos\\react-nextjs-template\\cypress\\downloads', env: {}, execTimeout: 60000, experimentalCspAl
lowList: false, experimentalFetchPolyfill: false, experimentalInteractiveRunEvents: false, experimentalRunAllSpecs: false, experimentalMemoryManagement: false, experimentalModifyObstructi
veThirdPartyCode: false, experimentalSkipDomainInjection: null, experimentalOriginDependencies: false, experimentalSourceRewriting: false, experimentalSingleTabRunMode: false, experimenta
lStudio: false, experimentalWebKitSupport: false, fileServerFolder: 'C:\\Users\\stuart.street\\source\\repos\\react-nextjs-template', fixturesFolder: 'C:\\Users\\stuart.street\\source\\re
pos\\react-nextjs-template\\cypress\\fixtures', excludeSpecPattern: '*.hot-update.js', includeShadowDom: false, keystrokeDelay: 0, modifyObstructiveCode: true, numTestsKeptInMemory: 50, p
latform: 'win32', pageLoadTimeout: 60000, port: 62221, projectId: null, redirectionLimit: 20, reporter: 'spec', reporterOptions: null, requestTimeout: 5000, resolvedNodePath: 'C:\\Program
 Files\\nodejs\\node.exe', resolvedNodeVersion: '18.17.0', responseTimeout: 30000, retries: { runMode: 0, openMode: 0, experimentalStrategy: undefined, experimentalOptions: undefined }, s
creenshotOnRunFailure: true, screenshotsFolder: 'C:\\Users\\stuart.street\\source\\repos\\react-nextjs-template\\cypress\\screenshots', slowTestThreshold: 10000, scrollBehavior: 'top', su
pportFile: 'C:\\Users\\stuart.street\\source\\repos\\react-nextjs-template\\cypress\\support\\e2e.ts', supportFolder: 'C:\\Users\\stuart.street\\source\\repos\\react-nextjs-template\\cypr
ess\\support', taskTimeout: 60000, testIsolation: true, trashAssetsBeforeRuns: true, userAgent: null, video: false, videoCompression: false, videosFolder: 'C:\\Users\\stuart.street\\sourc
e\\repos\\react-nextjs-template\\cypress\\videos', viewportHeight: 660, viewportWidth: 1000, waitForAnimations: true, watchForFileChanges: true, specPattern: 'cypress/e2e/**/*.cy.{js,jsx,
ts,tsx}', additionalIgnorePattern: [], autoOpen: false, browsers: [ { name: 'chrome', family: 'chromium', channel: 'stable', displayName: 'Chrome', version: '120.0.6099.217', path: 'C:\\P
rogram Files\\Google\\Chrome\\Application\\chrome.exe', minSupportedVersion: 64, majorVersion: '120' }, { name: 'edge', family: 'chromium', channel: 'stable', displayName: 'Edge', version
: '120.0.2210.133', path: 'C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe', minSupportedVersion: 79, majorVersion: '120' }, { name: 'electron', channel: 'stable', famil
y: 'chromium', displayName: 'Electron', version: '114.0.5735.289', path: '', majorVersion: 114 } ], clientRoute: '/__/', cypressBinaryRoot: 'C:\\Users\\stuart.street\\AppData\\Local\\Cypr
ess\\Cache\\13.6.2\\Cypress\\resources\\app', devServerPublicPathRoute: '/__cypress/src', hosts: null, isInteractive: true, isTextTerminal: false, morgan: true, namespace: '__cypress', re
porterRoute: '/__cypress/reporter', socketId: null, socketIoCookie: '__socket', socketIoRoute: '/__socket', version: '13.6.2', protocolEnabled: false, hideCommandLog: false, hideRunnerUi:
 false, cypressEnv: 'production', resolved: { animationDistanceThreshold: { value: 5, from: 'default' }, arch: { value: 'x64', from: 'default' }, baseUrl: { value: null, from: 'default' }
, blockHosts: { value: null, from: 'default' }, chromeWebSecurity: { value: true, from: 'default' }, clientCertificates: { value: [], from: 'default' }, defaultCommandTimeout: { value: 40
00, from: 'default' }, downloadsFolder: { value: 'cypress/downloads', from: 'default' }, env: {}, execTimeout: { value: 60000, from: 'default' }, experimentalCspAllowList: { value: false,
 from: 'default' }, experimentalFetchPolyfill: { value: false, from: 'default' }, experimentalInteractiveRunEvents: { value: false, from: 'default' }, experimentalRunAllSpecs: { value: fa
lse, from: 'default' }, experimentalMemoryManagement: { value: false, from: 'default' }, experimentalModifyObstructiveThirdPartyCode: { value: false, from: 'default' }, experimentalSkipDo
mainInjection: { value: null, from: 'default' }, experimentalOriginDependencies: { value: false, from: 'default' }, experimentalSourceRewriting: { value: false, from: 'default' }, experim
entalSingleTabRunMode: { value: false, from: 'default' }, experimentalStudio: { value: false, from: 'default' }, experimentalWebKitSupport: { value: false, from: 'default' }, fileServerFo
lder: { value: '', from: 'default' }, fixturesFolder: { value: 'cypress/fixtures', from: 'default' }, excludeSpecPattern: { value: '*.hot-update.js', from: 'default' }, includeShadowDom: 
{ value: false, from: 'default' }, keystrokeDelay: { value: 0, from: 'default' }, modifyObstructiveCode: { value: true, from: 'default' }, numTestsKeptInMemory: { value: 50, from: 'defaul
t' }, platform: { value: 'win32', from: 'default' }, pageLoadTimeout: { value: 60000, from: 'default' }, port: { value: null, from: 'default' }, projectId: { value: null, from: 'default' 
}, redirectionLimit: { value: 20, from: 'default' }, reporter: { value: 'spec', from: 'default' }, reporterOptions: { value: null, from: 'default' }, requestTimeout: { value: 5000, from: 
'default' }, resolvedNodePath: { value: null, from: 'default' }, resolvedNodeVersion: { value: null, from: 'default' }, responseTimeout: { value: 30000, from: 'default' }, retries: { valu
e: [Object], from: 'default' }, screenshotOnRunFailure: { value: true, from: 'default' }, screenshotsFolder: { value: 'cypress/screenshots', from: 'default' }, slowTestThreshold: { value:
 10000, from: 'default' }, scrollBehavior: { value: 'top', from: 'default' }, supportFile: { value: 'cypress/support/e2e.{js,jsx,ts,tsx}', from: 'default' }, supportFolder: { value: false
, from: 'default' }, taskTimeout: { value: 60000, from: 'default' }, testIsolation: { value: true, from: 'default' }, trashAssetsBeforeRuns: { value: true, from: 'default' }, userAgent: {
 value: null, from: 'default' }, video: { value: false, from: 'default' }, videoCompression: { value: false, from: 'default' }, videosFolder: { value: 'cypress/videos', from: 'default' },
 viewportHeight: { value: 660, from: 'default' }, viewportWidth: { value: 1000, from: 'default' }, waitForAnimations: { value: true, from: 'default' }, watchForFileChanges: { value: true,
 from: 'default' }, specPattern: { value: 'cypress/e2e/**/*.cy.{js,jsx,ts,tsx}', from: 'default' }, browsers: { value: [Array], from: 'runtime' }, hosts: { value: null, from: 'default' },
 isInteractive: { value: true, from: 'default' } }, testingType: 'e2e', state: { firstOpened: 1705409832428, lastOpened: 1705410642426, lastProjectId: null }, remote: {}, browser: null, s
pecs: [], proxyUrl: 'http://localhost:62221', browserUrl: 'http://localhost:62221/__/', reporterUrl: 'http://localhost:62221/__cypress/reporter', proxyServer: 'http://localhost:62221' } +
4ms
  cypress:server:remote-states getting remote state: { auth: undefined, origin: 'http://localhost:62221', strategy: 'file', fileServer: 'http://localhost:62222', domainName: 'localhost', 
props: null } for: http://localhost:62221 +4ms
  cypress:server:saved_state state path for global mode +20ms
  cypress:server:appdata path: C:\Users\stuart.street\AppData\Roaming\Cypress\cy\production\projects\__global__\state.json +393ms
  cypress:server:saved_state full state path C:\Users\stuart.street\AppData\Roaming\Cypress\cy\production\projects\__global__\state.json +0ms
  cypress:server:saved_state making saved state from C:\Users\stuart.street\AppData\Local\Cypress\Cache\13.6.2\Cypress\resources\app\packages\server +70ms
  cypress:server:saved_state missing project path, looking for project here +0ms
  cypress:server:saved_state state path for global mode +4ms
  cypress:server:appdata path: C:\Users\stuart.street\AppData\Roaming\Cypress\cy\production\projects\__global__\state.json +75ms
  cypress:server:saved_state full state path C:\Users\stuart.street\AppData\Roaming\Cypress\cy\production\projects\__global__\state.json +1ms
  cypress:server:open_project resetting project state, preparing to launch browser chrome for spec { name: '', absolute: '', relative: '', specType: 'integration' } options { shouldLaunch
NewTab: false } +2s
  cypress:server:project resetting project instance C:\Users\stuart.street\source\repos\react-nextjs-template +2s
  cypress:server:remote-states setting remote state { auth: undefined, origin: 'http://localhost:62221', strategy: 'file', fileServer: 'http://localhost:62222', domainName: 'localhost', p
rops: null } for http://localhost:62221 +2s
  cypress:server:remote-states getting remote state: { auth: undefined, origin: 'http://localhost:62221', strategy: 'file', fileServer: 'http://localhost:62222', domainName: 'localhost', 
props: null } for: http://localhost:62221 +0ms
  cypress:server:project_utils no spec absolute path, returning: http://localhost:62221/__/ +0ms
  cypress:server:open_project open project url http://localhost:62221/__/ +1ms
  cypress:server:project project has config { setupNodeEvents: '[Function setupNodeEvents]', projectRoot: 'C:\\Users\\stuart.street\\source\\repos\\react-nextjs-template', projectName: 'r
eact-nextjs-template', repoRoot: 'C:/Users/stuart.street/source/repos/react-nextjs-template', rawJson: { e2e: { setupNodeEvents: '[Function setupNodeEvents]' }, setupNodeEvents: '[Functio
n setupNodeEvents]', envFile: {}, projectRoot: 'C:\\Users\\stuart.street\\source\\repos\\react-nextjs-template', projectName: 'react-nextjs-template', repoRoot: 'C:/Users/stuart.street/so
urce/repos/react-nextjs-template' }, configFile: 'cypress.config.ts', animationDistanceThreshold: 5, arch: 'x64', baseUrl: null, blockHosts: null, chromeWebSecurity: true, clientCertifica
tes: [], defaultCommandTimeout: 4000, downloadsFolder: 'C:\\Users\\stuart.street\\source\\repos\\react-nextjs-template\\cypress\\downloads', env: {}, execTimeout: 60000, experimentalCspAl
lowList: false, experimentalFetchPolyfill: false, experimentalInteractiveRunEvents: false, experimentalRunAllSpecs: false, experimentalMemoryManagement: false, experimentalModifyObstructi
veThirdPartyCode: false, experimentalSkipDomainInjection: null, experimentalOriginDependencies: false, experimentalSourceRewriting: false, experimentalSingleTabRunMode: false, experimenta
lStudio: false, experimentalWebKitSupport: false, fileServerFolder: 'C:\\Users\\stuart.street\\source\\repos\\react-nextjs-template', fixturesFolder: 'C:\\Users\\stuart.street\\source\\re
pos\\react-nextjs-template\\cypress\\fixtures', excludeSpecPattern: '*.hot-update.js', includeShadowDom: false, keystrokeDelay: 0, modifyObstructiveCode: true, numTestsKeptInMemory: 50, p
latform: 'win32', pageLoadTimeout: 60000, port: 62221, projectId: null, redirectionLimit: 20, reporter: 'spec', reporterOptions: null, requestTimeout: 5000, resolvedNodePath: 'C:\\Program
 Files\\nodejs\\node.exe', resolvedNodeVersion: '18.17.0', responseTimeout: 30000, retries: { runMode: 0, openMode: 0, experimentalStrategy: undefined, experimentalOptions: undefined }, s
creenshotOnRunFailure: true, screenshotsFolder: 'C:\\Users\\stuart.street\\source\\repos\\react-nextjs-template\\cypress\\screenshots', slowTestThreshold: 10000, scrollBehavior: 'top', su
pportFile: 'C:\\Users\\stuart.street\\source\\repos\\react-nextjs-template\\cypress\\support\\e2e.ts', supportFolder: 'C:\\Users\\stuart.street\\source\\repos\\react-nextjs-template\\cypr
ess\\support', taskTimeout: 60000, testIsolation: true, trashAssetsBeforeRuns: true, userAgent: null, video: false, videoCompression: false, videosFolder: 'C:\\Users\\stuart.street\\sourc
e\\repos\\react-nextjs-template\\cypress\\videos', viewportHeight: 660, viewportWidth: 1000, waitForAnimations: true, watchForFileChanges: true, specPattern: 'cypress/e2e/**/*.cy.{js,jsx,
ts,tsx}', additionalIgnorePattern: [], autoOpen: false, browsers: [ { name: 'chrome', family: 'chromium', channel: 'stable', displayName: 'Chrome', version: '120.0.6099.217', path: 'C:\\P
rogram Files\\Google\\Chrome\\Application\\chrome.exe', minSupportedVersion: 64, majorVersion: '120' }, { name: 'edge', family: 'chromium', channel: 'stable', displayName: 'Edge', version
: '120.0.2210.133', path: 'C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe', minSupportedVersion: 79, majorVersion: '120' }, { name: 'electron', channel: 'stable', famil
y: 'chromium', displayName: 'Electron', version: '114.0.5735.289', path: '', majorVersion: 114 } ], clientRoute: '/__/', cypressBinaryRoot: 'C:\\Users\\stuart.street\\AppData\\Local\\Cypr
ess\\Cache\\13.6.2\\Cypress\\resources\\app', devServerPublicPathRoute: '/__cypress/src', hosts: null, isInteractive: true, isTextTerminal: false, morgan: true, namespace: '__cypress', re
porterRoute: '/__cypress/reporter', socketId: null, socketIoCookie: '__socket', socketIoRoute: '/__socket', version: '13.6.2', protocolEnabled: false, hideCommandLog: false, hideRunnerUi:
 false, cypressEnv: 'production', resolved: { animationDistanceThreshold: { value: 5, from: 'default' }, arch: { value: 'x64', from: 'default' }, baseUrl: { value: null, from: 'default' }
, blockHosts: { value: null, from: 'default' }, chromeWebSecurity: { value: true, from: 'default' }, clientCertificates: { value: [], from: 'default' }, defaultCommandTimeout: { value: 40
00, from: 'default' }, downloadsFolder: { value: 'cypress/downloads', from: 'default' }, env: {}, execTimeout: { value: 60000, from: 'default' }, experimentalCspAllowList: { value: false,
 from: 'default' }, experimentalFetchPolyfill: { value: false, from: 'default' }, experimentalInteractiveRunEvents: { value: false, from: 'default' }, experimentalRunAllSpecs: { value: fa
lse, from: 'default' }, experimentalMemoryManagement: { value: false, from: 'default' }, experimentalModifyObstructiveThirdPartyCode: { value: false, from: 'default' }, experimentalSkipDo
mainInjection: { value: null, from: 'default' }, experimentalOriginDependencies: { value: false, from: 'default' }, experimentalSourceRewriting: { value: false, from: 'default' }, experim
entalSingleTabRunMode: { value: false, from: 'default' }, experimentalStudio: { value: false, from: 'default' }, experimentalWebKitSupport: { value: false, from: 'default' }, fileServerFo
lder: { value: '', from: 'default' }, fixturesFolder: { value: 'cypress/fixtures', from: 'default' }, excludeSpecPattern: { value: '*.hot-update.js', from: 'default' }, includeShadowDom: 
{ value: false, from: 'default' }, keystrokeDelay: { value: 0, from: 'default' }, modifyObstructiveCode: { value: true, from: 'default' }, numTestsKeptInMemory: { value: 50, from: 'defaul
t' }, platform: { value: 'win32', from: 'default' }, pageLoadTimeout: { value: 60000, from: 'default' }, port: { value: null, from: 'default' }, projectId: { value: null, from: 'default' 
}, redirectionLimit: { value: 20, from: 'default' }, reporter: { value: 'spec', from: 'default' }, reporterOptions: { value: null, from: 'default' }, requestTimeout: { value: 5000, from: 
'default' }, resolvedNodePath: { value: null, from: 'default' }, resolvedNodeVersion: { value: null, from: 'default' }, responseTimeout: { value: 30000, from: 'default' }, retries: { valu
e: [Object], from: 'default' }, screenshotOnRunFailure: { value: true, from: 'default' }, screenshotsFolder: { value: 'cypress/screenshots', from: 'default' }, slowTestThreshold: { value:
 10000, from: 'default' }, scrollBehavior: { value: 'top', from: 'default' }, supportFile: { value: 'cypress/support/e2e.{js,jsx,ts,tsx}', from: 'default' }, supportFolder: { value: false
, from: 'default' }, taskTimeout: { value: 60000, from: 'default' }, testIsolation: { value: true, from: 'default' }, trashAssetsBeforeRuns: { value: true, from: 'default' }, userAgent: {
 value: null, from: 'default' }, video: { value: false, from: 'default' }, videoCompression: { value: false, from: 'default' }, videosFolder: { value: 'cypress/videos', from: 'default' },
 viewportHeight: { value: 660, from: 'default' }, viewportWidth: { value: 1000, from: 'default' }, waitForAnimations: { value: true, from: 'default' }, watchForFileChanges: { value: true,
 from: 'default' }, specPattern: { value: 'cypress/e2e/**/*.cy.{js,jsx,ts,tsx}', from: 'default' }, browsers: { value: [Array], from: 'runtime' }, hosts: { value: null, from: 'default' },
 isInteractive: { value: true, from: 'default' } }, testingType: 'e2e', state: { firstOpened: 1705409832428, lastOpened: 1705410642426, lastProjectId: null }, remote: {}, browser: null, s
pecs: [], proxyUrl: 'http://localhost:62221', browserUrl: 'http://localhost:62221/__/', reporterUrl: 'http://localhost:62221/__cypress/reporter', proxyServer: 'http://localhost:62221' } +
1ms


### Other

_No response_
jennifer-shehane commented 6 months ago

Please note these 2 issues at the top of that doc:

For component testing, Cypress currently does not support Next.js version 14 and async Server Components. These issues are being tracked. For now, component testing works with Next.js version 13, and we recommend E2E testing for async Server Components. Cypress currently does not support TypeScript version 5 with moduleResolution:"bundler". This issue is being tracked.

Does the browser work if you visit another url like example.cypress.io?

stu039 commented 6 months ago

Hi Jennifer,

Thanks for your reply - I am only using E2E tests and do not have bundler module resolutions in my typescript config.

Yes the browser opened by cypress can navigate to standard web pages just fine

thanks

cypress-app-bot commented 1 week ago

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.