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
Plugin stdout not captured as part of stdout during run record #7434
Comments
The reason this is important - if you Something like:
module.exports = (on) => {
on('task', {
logStdOut(...args) {
console.log(...args);
return null;
},
});
}; Also using plugins that log output would not log the output through the Dashboard like: |
The code for this is done in cypress-io/cypress#17293, but has yet to be released. |
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
currently we capture run stdout for recording by intercepting
process.stdout.write
, however that will only capture the stdout from the parent process, missing the pluginsWe should capture stdout from the plugins as well
We likely should spawn plugins with
{ stdio: 'pipe' }
instead ofinherit
and manually forward the stdout to the parentThe text was updated successfully, but these errors were encountered: