-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Incorrect spec path relayed to dashboard #22971
Comments
I agree with @RobBickel's assessment that this is related to monorepos given that...
|
As you roll off Fire Watch this iteration, @rachelruderman let's pick this one back up. I've added it to the next iteration. |
3 tasks
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Current behavior
An issue was logged to the dashboard about an incorrect GitHub link for specs, which upon further investigation, seems to suggest the test runner is at fault for the incorrect link. Speaking with @RobBickel about the issue, he shared some details of his investigation, noting the following:
Looking at an example generated link that fails compared to what it SHOULD BE, it is possible that monorepo's mess with the current logic.
Bad Link:
https://github.com/cypress-io/cypress-services/blob/5915dd88fd957431fbb1ee0642bf7e69292c62c1/cypress/integration/organizations/ProjectsList_spec.ts#L480
Good Link:
https://github.com/cypress-io/cypress-services/blob/5915dd88fd957431fbb1ee0642bf7e69292c62c1/frontend/packages/dashboard/cypress/integration/organizations/ProjectsList_spec.ts#L480
For more information regarding internal conversations about this issue, see the Cloud issue referenced above.
Desired behavior
When the dashboard displays a link for a failed spec, the URL is correct.
Test code to reproduce
Cypress Version
10.3.1
Other
Here's a screenshot showing the specific link that is sometimes incorrect.
The text was updated successfully, but these errors were encountered: