You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Briefly describe the issue you are experiencing (or the feature you want to add)
Tests shown as pending in Build logs are incorrectly displayed as Passed/Successful in Overview and Tests tab in teamcity UI.
Environment
What mocha-teamcity-reporter version are you using
4.1.0
Version of NPM/yarn etc and Node.js
npm version 6.14.11, Node.js version 12.21.0
Version of teamcity (If Applicable)
2020.2.4 (build 86063)
Cypress version - 8.3.0
Grep library version
2.5.3
Details
If necessary, describe the problem you have been experiencing in more detail.
Such as a stacktrace or error message
We use --env grepTags=@SMOKE along with following parameters with docker run command cypress run --reporter mocha-teamcity-reporter
Teamcity(TC) buildlog shows tests under Pending and Passing status correctly as shown below
However, the TC overview tab shows all Pending tests as passed as seen below
The TC Tests tab shows all tests as successful. When I filter by 'ignored' status, it does not return any tests as shown below.
Note: TC does not have test filter statuses like Pending, which are mocha specific as mentioned here. The only default filters TC has is 'successful', ''failed' and 'ignored'.
Differences b/w mocha teamcity reporter and cypress using mocha teamcity reporter can be found here.
Expected behavior: Pending tests from cypress teamcity reporter should display as Ignored tests in Teamcity UI. It should not display under 'Successful'/Passed status on TC UI.
An example test or code sample
Please remember that with sample code it's easier to reproduce the bug and it's much faster to fix it.
Not needed for feature requests or questions
The text was updated successfully, but these errors were encountered:
papatelst
changed the title
Pending tests are displayed as Passed by teamcity UI
Pending tests are displayed as Passed in teamcity UI
Sep 30, 2021
The problem
Briefly describe the issue you are experiencing (or the feature you want to add)
Tests shown as
pending
in Build logs are incorrectly displayed as Passed/Successful inOverview
andTests
tab in teamcity UI.Environment
2020.2.4 (build 86063)
Cypress version - 8.3.0
Details
We use
--env grepTags=@SMOKE
along with following parameters with docker run commandcypress run --reporter mocha-teamcity-reporter
Teamcity(TC) buildlog shows tests under Pending and Passing status correctly as shown below
However, the TC
overview
tab shows all Pending tests as passed as seen belowThe TC
Tests
tab shows all tests as successful. When I filter by 'ignored' status, it does not return any tests as shown below.Note: TC does not have test filter statuses like
Pending
, which are mocha specific as mentioned here. The only default filters TC has is'successful', ''failed' and 'ignored'.
Differences b/w mocha teamcity reporter and cypress using mocha teamcity reporter can be found here.
Expected behavior:
Pending
tests from cypress teamcity reporter should display asIgnored
tests in Teamcity UI. It should not display under 'Successful'/Passed status on TC UI.An example test or code sample
The text was updated successfully, but these errors were encountered: