Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

chore: pass file preprocesor override to protocol as debug data #31171

Open
wants to merge 3 commits into
base: ryanm/chore/studio-types
Choose a base branch
from

Conversation

ryanthemanuel
Copy link
Collaborator

@ryanthemanuel ryanthemanuel commented Feb 26, 2025

Additional details

In order to improve troubleshooting source map issues as a part of test generation, we are going to start capturing any file:preprocessor overrides. This will hopefully give us insight into whether or not sourcemaps have not been properly enabled. This PR captures the function string and passes it from the child process to main Cypress where it's stored as a debug property on ProjectConfigLifecycleManager. There it can be passed to protocol where it will be stored as a debug event.

Steps to test

How has the user experience changed?

PR Tasks

@ryanthemanuel ryanthemanuel changed the base branch from develop to ryanm/chore/studio-types February 26, 2025 03:33
@ryanthemanuel ryanthemanuel changed the title chore: set up sharing of react via module federation in studio chore: pass file preprocesor override to protocol as debug data Feb 26, 2025
Copy link

cypress bot commented Feb 26, 2025

cypress    Run #60618

Run Properties:  status check passed Passed #60618  •  git commit ec9fa30f82: Merge branch 'ryanm/chore/studio-types' into ryanm/chore/pass-file-preprocessor-...
Project cypress
Branch Review ryanm/chore/pass-file-preprocessor-override-to-protocol
Run status status check passed Passed #60618
Run duration 19m 24s
Commit git commit ec9fa30f82: Merge branch 'ryanm/chore/studio-types' into ryanm/chore/pass-file-preprocessor-...
Committer Ryan Manuel
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 8
Tests that did not run due to a developer annotating a test with .skip  Pending 1232
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 32101
View all changes introduced in this branch ↗︎
UI Coverage  46.44%
  Untested elements 183  
  Tested elements 163  
Accessibility  92.55%
  Failed rules  3 critical   8 serious   2 moderate   2 minor
  Failed elements 877  

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant