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

Geolocation error on final command of final test #1195

Closed
Fy50167 opened this issue Jun 5, 2024 · 6 comments
Closed

Geolocation error on final command of final test #1195

Fy50167 opened this issue Jun 5, 2024 · 6 comments
Labels
unexpected behavior User expected result, but got another

Comments

@Fy50167
Copy link

Fy50167 commented Jun 5, 2024

My applications has a dialog that opens up and covers all other elements if locations permissions are not enabled in the browser. Generally this doesn't interfere with my cypress tests whatsoever since we run our tests through Chrome instead of Electron, however in Github Actions (and only in actions, this doesn't occur in cypress locally) on the final action of the final test that gets ran (which is a click), the test fails because the dialog opens up and covers everything. I have no clue what could be causing this to occur since if locations weren't enabled I'm assuming the error would be occurring earlier or in any of the 5 tests that pass before, but for some reason it only shows up on the very last command that gets run.

@MikeMcC399
Copy link
Collaborator

@Fy50167

The Cypress GitHub Action has no influence on individual steps in a set of tests, so it is very unlikely that there is a bug in the action which would cause the problem you are describing.

You may be able to get help from the Cypress technical community on Discord

Discord chat (click on button)

You can find community members there with a broad base of experience which you can draw on.

@MikeMcC399 MikeMcC399 added the unexpected behavior User expected result, but got another label Jun 5, 2024
@jennifer-shehane
Copy link
Member

@Fy50167 Looks like this may be this issue: cypress-io/cypress#2671 There's a workaround in there.

@MikeMcC399
Copy link
Collaborator

@Fy50167

@Fy50167
Copy link
Author

Fy50167 commented Jun 7, 2024

@Fy50167

Unfortunately not, basically every solution listed is outdated and deprecated at this point.

@MikeMcC399
Copy link
Collaborator

@Fy50167

Unfortunately not, basically every solution listed is outdated and deprecated at this point.

Do you have a reproduction of this issue which you could share? I would suggest opening a new issue on https://github.com/cypress-io/cypress and using the template there to capture additional details, like version information.

@MikeMcC399
Copy link
Collaborator

I suggest to close this issue since it cannot be solved by the Cypress GitHub Action.

@jennifer-shehane jennifer-shehane closed this as not planned Won't fix, can't repro, duplicate, stale Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
unexpected behavior User expected result, but got another
Projects
None yet
Development

No branches or pull requests

3 participants