-
Notifications
You must be signed in to change notification settings - Fork 24
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
How to pass test results to TestRail block wise from single test in cypress #15
Comments
Hi there aehm...I think I know what you mean, but it could also be that I might be confused :) so you have something like this?
and then the first one fails...then C1, C54 and C33 should be marked as failed and C88 as passed? i think i dont get the block-wise thing :) thank you |
Hi there ok thank you for this then let me reproduce it. maybe you can help me with the steps:
is that correct? |
No this is not my case. Problem I am facing is if it() block fails, then
all three test cases C1 C54 C33 gets failed. Now in my case I have three
validations in it() block corresponding to each test case id (that's why I
linked three test cases of testrail with single cypress test.) & my 2
validations got passed and 1 got failed.
So I want C1 and C54 should get passed and C33 should get failed.
Is there any way to achieve this?
Thanks,
Shivani
…On Tue, 10 Jan, 2023, 9:22 pm Christian, ***@***.***> wrote:
Hi there
aehm...I think I know what you mean, but it could also be that I might be
confused :)
so you have something like this?
it('C1 C54 C33: this is my test() ....
it('C88: this is another test() ...
and then the first one fails...then C1, C54 and C33 should be marked as
failed and C88 as passed?
maybe you can write a sample?
thank you
—
Reply to this email directly, view it on GitHub
<#15 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD4UCU6NVEGWZQKOIARPGOTWRWAVRANCNFSM6AAAAAATW6PFVQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Hi could you share your code? maybe anonymize it? then I'm quite sure I get it :D |
Yes, the same steps you said above. And I think my question might be a user experience issue: |
aaaaaaa, now we have it so would all 3 case IDs exist in your project? then theres just the bug that i accidentally only add 1, which means later on when sending results, these are missing? |
As a user I would like to make some comments:
|
Hi to your questions
1.2 you can have a single assignment
1.3 you can have multiple assignments
and then if you send it against an existing run, the cases need to be part of it in testrail ...or if you create it dynamically, only the ones being executed will be added in testrail first, and then the result comes
I think I forgot to test this. so this is actually my question from above, if that might be the problem?
i hope this explains it. |
Hi there
|
My cypress test is linked to multiple TestRail test cases. But if my test case fails in cypress, all my test results got failed. But in actual it's due to only one validation which is failing in cypress and not all. So is there any way, we can assign test case id block-wise in cypress test case, so that if validation passes then corresponding to that test case id gets passed in testrail & if any validation fails in the same cypress IT block, then test case id gets failed in testrail .
The text was updated successfully, but these errors were encountered: