Add detached test ability for the XML report upload
It would be beneficial to move tests to a detached location if they are no longer present in the XML report.
So, we discussed the possible way to implement this flow with @DavertMik you can import XML reports with detach-by-tag parameter All our tests have @core/@admin/@mobile tag If tests marked with the @core tag are imported from the report, you can compare the imported tests with the existing ones in Testomat that have the @core tag. Any tests that are no longer present in the latest report will be moved to the 'detached' tab.
@DavertMik is this require backend changes or only reporter side?
@DavertMik we need this to be done in current sprint
Hi @chura90! The feature is live now. Please give it a try and provide feedback. Thanks!
@chura90 please use TESTOMATIO_MARK_DETACHED=1 https://github.com/testomatio/reporter/pull/464/files#diff-17ed18489a956f326ec0fe4040850c5bc9261d4631fb42da4c52891d74a59180
Improvements needed based on client's feedback:
All our tests have @core/@admin/@mobile tag If tests marked with the https://github.com/core tag are imported from the report, you can compare the imported tests with the existing ones in Testomat that have the https://github.com/core tag. Any tests that are no longer present in the latest report will be moved to the 'detached' tab.
We will need to use special tag
TESTOMATIO_MARK_DETACHED=@core
Fixed in reporter https://github.com/testomatio/reporter/releases/tag/1.6.12
https://github.com/testomatio/reporter/blob/2.x/docs/configuration.md#testomatio_mark_detached retest it @YanaBaranova0909
Hi @chura90 ! Just checking in on the task you created — is everything implemented and are all questions resolved? Thank you.
Hi @chura90! As we haven’t heard back from you in a while, we’ll go ahead and close this ticket for now. If you still need help or have any further questions, feel free to reopen it or create a new one — we’ll be happy to assist.