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

[🐛 Bug]: grouping specs results in only a single test report #9283

Merged
merged 1 commit into from
Dec 2, 2022

Conversation

christian-bromann
Copy link
Member

@christian-bromann christian-bromann commented Dec 2, 2022

Have you read the Contributing Guidelines on issues?

WebdriverIO Version

v8

Node.js Version

latest

Mode

WDIO Testrunner

Which capabilities are you using?

n/a

What happened?

If I group my component tests so that many run within a single browser session, only the last ran test is being reported.

What is your expected behavior?

All tests should be reported correctly.

How to reproduce the bug.

Setup the SolidJS example and run it:
https://github.com/webdriverio/component-testing-examples/tree/main/solidjs-typescript-vite

Relevant log output

The number of tests seems fine but the details of other file results are missing

 "spec" Reporter:
------------------------------------------------------------------
[chrome 107.0.5304.121 mac os x #0-0] Running: chrome (v107.0.5304.121) on mac os x
[chrome 107.0.5304.121 mac os x #0-0] Session ID: 8db114c464616ef9486a1f1b15acc158
[chrome 107.0.5304.121 mac os x #0-0]
[chrome 107.0.5304.121 mac os x #0-0] » file:///src/tests/modal.test.tsx
[chrome 107.0.5304.121 mac os x #0-0] my component tests
[chrome 107.0.5304.121 mac os x #0-0]    ✓ will trigger on click outside
[chrome 107.0.5304.121 mac os x #0-0]    ✓ will not trigger on click inside
[chrome 107.0.5304.121 mac os x #0-0]
[chrome 107.0.5304.121 mac os x #0-0] 5 passing (3.8s)

Code of Conduct

  • I agree to follow this project's Code of Conduct

Is there an existing issue for this?

  • I have searched the existing issues

@christian-bromann christian-bromann added PR: Bug Fix 🐛 PRs that contain bug fixes and removed Bug 🐛 labels Dec 2, 2022
@christian-bromann christian-bromann merged commit 40fc936 into main Dec 2, 2022
@christian-bromann christian-bromann deleted the cb-fix-spec-grouping-ct branch December 2, 2022 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: Bug Fix 🐛 PRs that contain bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant