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

Skipped tests are shown in cli report within test execution #4529

Open
vitaliisotnichenko opened this issue Oct 27, 2024 · 6 comments
Open

Comments

@vitaliisotnichenko
Copy link

What are you trying to achieve?

In cli within test execution to see only passed/failed tests

What do you get instead?

While test execution except passed/failed tests, skipped tests also displayed that make track execution more difficult

Screenshot 2024-10-27 at 10 31 37

Details

  • CodeceptJS version: 3.6.5
  • NodeJS Version: 20
  • Operating System: Mac/Linux
  • playwright: 1.38.1
  • Configuration file:
    /** Mocha reporter */
    mocha: {
        reporterOptions: {
            "codeceptjs-cli-reporter": {
                stdout: "-",
                options: {
                    verbose: true,
                    features: true,
                }
            },
            "mocha-junit-reporter": {
                stdout: "-",
                options: {
                    mochaFile: 'output/result.[hash].xml',
                    includePending: false,
                }
            }
        }
    },
@vitaliisotnichenko
Copy link
Author

skipped tests are displayed with flag --reporter mocha-multi

@kobenguyent
Copy link
Collaborator

well, I think the skipped tests are displaying by default and currently, there is not option to hide them.

@vitaliisotnichenko
Copy link
Author

vitaliisotnichenko commented Oct 29, 2024

@kobenguyent they didn't display in 3.5.2 version, the problem appeared after this version when we did update. We did rollback to the 3.5.2 version and again no issue with skipped tests, they shown only in result line
Screenshot 2024-10-29 at 17 10 36

@kobenguyent
Copy link
Collaborator

Could you kindly verify if you have observed this issue since the release of version 3.6.x?

@vitaliisotnichenko
Copy link
Author

@kobenguyent I can see this issue in 3.5.8 version but in 3.5.2 it works correctly (without skipped tests in cli)

@myrepojuly1987
Copy link

myrepojuly1987 commented Nov 27, 2024

Facing the same issue with the latest version. Resulting in elevated counts in the allure report.

@kobenguyent

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

No branches or pull requests

3 participants