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

[Request] Add pretty formatter plugin #810

Closed
burakkaygusuz opened this issue Aug 23, 2022 · 4 comments
Closed

[Request] Add pretty formatter plugin #810

burakkaygusuz opened this issue Aug 23, 2022 · 4 comments

Comments

@burakkaygusuz
Copy link

Do you have any plans to add the pretty plugin to this processor according to the below package? It would be nice to monitor the scenario steps via the CLI.

https://github.com/cucumber/cucumber-js-pretty-formatter

@badeball
Copy link
Owner

No such plans exist, albeit it'd be nice to have. I however don't have time to work on this. Furhermore, I reckon it'd be pretty major work, as one can't simply just integrate cucumber-js reporters into cypress, it'd more likely require a complete re-implementation.

badeball added a commit that referenced this issue May 1, 2023
Messages are no longer lingering in the runtime, but passed along to the
backend using tasks immediately. This is a prerequisite for the
following issues:

 - 810 [1]
 - 824 [2]
 - 944 [3]

This is not to say that these will be fixed shortly or even at all, but
at least now it will be remotely possible.

Furthermore, this removes any doubt regarding whether reports work in
interactive mode. The experimental flag simply turns out to be too
broken [4-5]. Interactive mode is now detected and reports turned off.

Lastly, detecting interactive mode is a somewhat broken feature [6]. The
workaround (using `isTextTerminal`) is only available in Cypress v10 and
beyond. Thus is Cypress v9 now unsupported.

[1] #810
[2] #824
[3] #944
[4] cypress-io/cypress#18955
[5] cypress-io/cypress#26634
[6] cypress-io/cypress#20789
badeball added a commit that referenced this issue May 1, 2023
Messages are no longer lingering in the runtime, but passed along to the
backend using tasks immediately. This is a prerequisite for the
following issues:

 - 810 [1]
 - 824 [2]
 - 944 [3]

This is not to say that these will be fixed shortly or even at all, but
at least now it will be remotely possible.

Furthermore, this removes any doubt regarding whether reports work in
interactive mode. The experimental flag simply turns out to be too
broken [4-5]. Interactive mode is now detected and reports turned off.

Lastly, detecting interactive mode is a somewhat broken feature [6]. The
workaround (using `isTextTerminal`) is only available in Cypress v10 and
beyond. Thus is Cypress v9 now unsupported.

[1] #810
[2] #824
[3] #944
[4] cypress-io/cypress#18955
[5] cypress-io/cypress#26634
[6] cypress-io/cypress#20789
badeball added a commit that referenced this issue May 1, 2023
Messages are no longer lingering in the runtime, but passed along to the
backend using tasks immediately. This is a prerequisite for the
following issues:

 - 810 [1]
 - 824 [2]
 - 944 [3]

This is not to say that these will be fixed shortly or even at all, but
at least now it will be remotely possible.

Furthermore, this removes any doubt regarding whether reports work in
interactive mode. The experimental flag simply turns out to be too
broken [4-5]. Interactive mode is now detected and reports turned off.

Lastly, detecting interactive mode is a somewhat broken feature [6]. The
workaround (using `isTextTerminal`) is only available in Cypress v10 and
beyond. Thus is Cypress v9 now unsupported.

[1] #810
[2] #824
[3] #944
[4] cypress-io/cypress#18955
[5] cypress-io/cypress#26634
[6] cypress-io/cypress#20789
badeball added a commit that referenced this issue May 1, 2023
Messages are no longer lingering in the runtime, but passed along to the
backend using tasks immediately. This is a prerequisite for the
following issues:

 - 810 [1]
 - 824 [2]
 - 944 [3]

This is not to say that these will be fixed shortly or even at all, but
at least now it will be remotely possible.

Furthermore, this removes any doubt regarding whether reports work in
interactive mode. The experimental flag simply turns out to be too
broken [4-5]. Interactive mode is now detected and reports turned off.

Lastly, detecting interactive mode is a somewhat broken feature [6]. The
workaround (using `isTextTerminal`) is only available in Cypress v10 and
beyond. Thus is Cypress v9 now unsupported.

[1] #810
[2] #824
[3] #944
[4] cypress-io/cypress#18955
[5] cypress-io/cypress#26634
[6] cypress-io/cypress#20789
badeball added a commit that referenced this issue Jun 11, 2023
badeball added a commit that referenced this issue Jun 11, 2023
badeball added a commit that referenced this issue Jun 11, 2023
badeball added a commit that referenced this issue Jun 12, 2023
@badeball
Copy link
Owner

I'm happy to announce that this is implemented in v18.0.0. Read the docs for information on how to enable it. This is still fairly experimental and feedback is welcome.

@MarkAPhillips
Copy link

MarkAPhillips commented Jul 17, 2023

Is it possible to use this if running on version below Node 18? - that is could this be a package you could install in isolation - or is it only supported on versions > Node 18 - we are currently tied to Node 16 but would like to use this if possible. If not I suppose we need to upgrade to Node 18 which might facilitate this move

@badeball
Copy link
Owner

Is it possible to use this if running on version below Node 18?

The v18-requirement comes from use of findLastIndex(..), which is only invoked in certain conditions, namely if you omit configuring baseUrl. Omitting this configuration is not recommended. Thus, you can probably use this library with v16 as long as you do configure said property.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants