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

AVCaptureDeviceTypeExternal is deprecated for Continuity Cameras #5511

Open
2 of 6 tasks
Pratap22 opened this issue Oct 2, 2023 · 3 comments
Open
2 of 6 tasks

AVCaptureDeviceTypeExternal is deprecated for Continuity Cameras #5511

Pratap22 opened this issue Oct 2, 2023 · 3 comments

Comments

@Pratap22
Copy link

Pratap22 commented Oct 2, 2023

Description

When I try to run cypress run --browser chrome, I get the error mentioned in the description.

URL of Issue(s)

No link

Steps to replicate

  1. Install cypress
  2. Write Cypress Test
  3. run cypress run --browser chrome
  4. You will see this warning Cypress Helper (GPU)[18271:268052] WARNING: AVCaptureDeviceTypeExternal is deprecated for Continuity Cameras. Please use AVCaptureDeviceTypeContinuityCamera and add NSCameraUseContinuityCameraDeviceType to your Info.plist.

It will fail after.
Still waiting to connect to Chrome, retrying in 1 second (attempt 62/62)

Cypress failed to make a connection to the Chrome DevTools Protocol after retrying for 50 seconds.

This usually indicates there was a problem opening the Chrome browser.

The CDP port requested was 51109.

Error: connect ECONNREFUSED 127.0.0.1:51109
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16)

error Command failed with exit code 1.

Screenshot 2023-10-02 at 11 01 23 AM
Screenshot 2023-10-02 at 11 01 58 AM

Browser

Chrome Version 117.0.5938.92 (Official Build) (arm64)

Device

  • PC
  • Mac
  • iPhone
  • iPad
  • Android Phone
  • Android Tablet

Additional Information

Cypress Helper (GPU)[18271:268052] WARNING: AVCaptureDeviceTypeExternal is deprecated for Continuity Cameras. Please use AVCaptureDeviceTypeContinuityCamera and add NSCameraUseContinuityCameraDeviceType to your Info.plist.

@Pratap22
Copy link
Author

Pratap22 commented Oct 2, 2023

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Cypress:        10.3.0                                                                         │
  │ Browser:        Chrome 117 (headless)                                                          │
  │ Node Version:   v16.13.0 (/Users/admin/.nvm/versions/node/v16.13.0/bin/node)                   │
  │ Specs:          1 found (apply-ipo.cy.js)                                                      │
  │ Searched:       cypress/e2e/**/*.cy.{js,jsx,ts,tsx}                                            │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


@MikeMcC399
Copy link
Contributor

@Pratap22

Error: connect ECONNREFUSED 127.0.0.1:51109
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16)

@MikeMcC399
Copy link
Contributor

@Pratap22

Regarding your error in the title:
"AVCaptureDeviceTypeExternal is deprecated for Continuity Cameras"

You would need to give more information about which operating system you are running under.

You may find that updating to the latest Cypress version 13.3.0 may solve this issue, as some other gpu-related issues have been resolved by updating. It may also just be a warning which can be ignored after you have updated your Chrome browser.

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

No branches or pull requests

2 participants