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

Custom configuration for status mappings between Cypress and TestRail #44

Open
imutiara opened this issue Sep 13, 2023 · 6 comments
Open
Assignees
Labels
In Progress currently in development issue:enhancement New feature or request

Comments

@imutiara
Copy link

everytime I running by tags(e.g npx cypress run --env TAGS="@smoke"), the other feture file is finish with status pending and send to testrail as blocked
image

@boxblinkracer
Copy link
Owner

Hi

so this makes actually sense if you know the background...but please let me know your use case, so I can think of a solution

what should happen is....
when you prepare a testrail run with all tests...then you run cypress in filter mode...this should ensure that all tests are green or red...and the ones that are not executed should also be marked...these are marked as "blocked" for now as synonym for "not executed". but I just saw that there is also the option to revert back to "untested" which might be more appropriate

what do you think?
changing them to "untested" is better?

thank you

@boxblinkracer boxblinkracer added the issue:enhancement New feature or request label Jan 2, 2024
@natalivoloshyn
Copy link

Hi,
We also have this problem.
Could you please fix it in the same way as it was in the older version:
If launch tests run with any tag (like TAGS="@smoke") - all test results that have the status 'Pending' should not be sent to TestRail at all.
Pending here actually means that we are not interested in them because they were skipped intentionally.

Thank you!

@boxblinkracer
Copy link
Owner

Hi

thanks

I think i need to create a config, because different people want different things in that scenario over time

so I'll make sure to have everything possible, i think thats the only solution

@boxblinkracer boxblinkracer added issue:on-roadmap planned for upcoming releases Todo (Development) ready for development and removed issue:on-roadmap planned for upcoming releases labels Jan 26, 2024
@boxblinkracer boxblinkracer self-assigned this Jan 30, 2024
@boxblinkracer
Copy link
Owner

Hi

so the latest dev-master already contains the first part.
The new variable "ignorePending" allows to configure if pending cypress tests should be sent to Cypress at all.

@boxblinkracer boxblinkracer added In Progress currently in development and removed Todo (Development) ready for development labels Feb 2, 2024
@natalivoloshyn
Copy link

"ignorePending"

thank you for this fix very much. For us, it works very well👌

@boxblinkracer
Copy link
Owner

perfect, thanks for the feedback, coming soon :)

@boxblinkracer boxblinkracer changed the title how to not set pending status as blocked? Custom configuration for status mappings between Cypress and TestRail Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
In Progress currently in development issue:enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants