Closed VoorheesM closed 8 months ago
Hi there
oh ok, thank you so much for letting me know I'll upgrade our cypress project and give it a try
As a temporary solution, simply change the TestData constructor. @VoorheesM #39
Having same issue "Could not send list of TestRail results: 400 Bad Request >> Field :results.elapsed is not in a valid time span format."
Hi there
has been fixed with 2.8.1, forgot to mention it here
also current dev-master has a fix for the broken screenshots (which also changed in cypress 13 haha)
Hi there, This issue is still reproducible on 2.8.2 We run tests using tag - so not all tests are launched. Previously results of Pending tests were not pushed to TestRail.
hi there
thank you so much
yeah theres a new case somehow NANs is a value inside
so i updated to allow the check if the field doesnt even exist in cypress. but in ur case it exists but with an invalid value
i guess thats maybe only with a special combination in any way
i can fix that. shouldnt be hard
thx for ur help on that :)
ok I found it with a new jest test pretty sure undefined happens, ill add a fix
should work now, can you give it a try with the latest dev-master (please also note, axios has been updated, so you might need to reinstall node-modules if sth is weird)
Hello, Unfortunatelly this issue is still present if there are 3 and more tests
Hi
thanks for reporting this
I've found indeed a scenario with your description, so in cypress 13, skipped tests have a duration of "0". Unfortunately because of a not-so-good-implicit if (data.duration) check, it went into checking attempt array from old Cypress <= v12...which of course didnt work either...so "NaN" was back as value
in the end a single jest-unit test was missing and showed the error
i've restructured it a bit more to cover more cases and its working now for me
can you check out dev-master and tell me if its working?
sorry for the inconvenience
dev-master
hi,
we have tested this fix and it work great 👌 Thank you very much for it. we are waiting for the next release ❤️
perfect thanks for the feedback
release will come soon...fixing something else and then :)
released with 2.10.0
when running a test the following message is desplayed:
TestRail >> Sending case results to run R563: C135
Could not send list of TestRail results: 400 Bad Request >> Field :results.elapsed is not in a valid time span format.
this was not that case right before updating to cypress 13.0 so it looks like something was changed there causing this issue