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

jest-circus doesn't show disabled/skipped tests in IDEA #11488

Closed
mmisty opened this issue May 30, 2021 · 7 comments
Closed

jest-circus doesn't show disabled/skipped tests in IDEA #11488

mmisty opened this issue May 30, 2021 · 7 comments
Labels

Comments

@mmisty
Copy link

mmisty commented May 30, 2021

Bug report

Running tests by it.skip in IntelliJ IDEA with jest-curcus runner doesn't show them in the list at all.
Can be related to this issue #9468

Repo steps

Prerequisites:

"devDependencies": {
    "@types/jest": "^26.0.23",
    "jest": "^27.0.1",
    "jest-jasmine2": "^27.0.3",
    "prettier": "^2.2.1",
    "pretty-quick": "^3.1.0",
    "ts-jest": "^27.0.1",
    "tslib": "^2.1.0",
    "typescript": "^4.2.3"
  }

Steps:

  1. run this suite by Idea
describe('test examples', () => {
  it.skip('test to skip', ()=>{})
  it('test to run', ()=>{})
});

Expected: 'test to skip' should be shown in the list
Actual: only 'test to run ' is shown

image

This is what's shown when using jest-jasmine2 runner:

image

@mmisty mmisty changed the title jest-circus doesn't show disabled tests jest-circus doesn't show disabled tests in IDEA May 30, 2021
@Smrtnyk
Copy link

Smrtnyk commented May 31, 2021

Same thing here, we moved to jest 27 and jest-circus with about 3.3k unit tests
skipped tests not shown anymore in report

@mmisty mmisty changed the title jest-circus doesn't show disabled tests in IDEA jest-circus doesn't show disabled/skipped tests in IDEA May 31, 2021
@G-Rath
Copy link
Contributor

G-Rath commented Jun 2, 2021

@mmisty it's probably going to be worth opening an issue in YouTrack as well - I'm happy to do this if you'd like :)

cc @segrey - if there's anything I can do to help (e.g. if you need jest-circus to expose more data), let me know and I'll do what I can :)

@mmisty
Copy link
Author

mmisty commented Jun 2, 2021

Hi @G-Rath,
Yes, it would be great if you can open the issue in YouTrack.
Thank you!

@G-Rath
Copy link
Contributor

G-Rath commented Jun 2, 2021

Have created WEB-51160 :)

@github-actions
Copy link

github-actions bot commented Jun 2, 2022

This issue is stale because it has been open for 1 year with no activity. Remove stale label or comment or this will be closed in 30 days.

@github-actions github-actions bot added the Stale label Jun 2, 2022
@github-actions
Copy link

github-actions bot commented Jul 2, 2022

This issue was closed because it has been stalled for 7 days with no activity. Please open a new issue if the issue is still relevant, linking to this one.

@github-actions github-actions bot closed this as completed Jul 2, 2022
@github-actions
Copy link

github-actions bot commented Aug 2, 2022

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants