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

Switching to a different url and getting a DOMException: Permission denied when access the camera in new url #27842

Closed
callum-maguire-1 opened this issue Sep 19, 2023 · 2 comments
Labels
stale no activity on this issue for a long period

Comments

@callum-maguire-1
Copy link

Current behavior

Switching to a different url by clicking a link in application A takes me to Application B where the camera component stop working and throws the error with DOMException: Permission denied.

This is a simple version of a production application

This is the test running, it shows that the error throw in the console and that in application B the camera is not working
https://github.com/cypress-io/cypress/assets/141216893/592e520e-2a0e-4b03-b060-15980603e59d

Desired behavior

Application A has a link and navigates to Application B where the camera component should work.

It is how it works when not using cypress.

Test code to reproduce

https://github.com/callum-maguire-1/camera-test

Here is an application that has cypress test included with a react application. Please run npm start twice in different terminal to bring it up on multiple localhosts.

Cypress Version

13.2.0

Node version

18.15.0

Operating System

MacOS 13.4.1

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 Mar 18, 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 Apr 1, 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