gurock / trcli

TR CLI (trcli) is a command line tool for interacting with TestRail.
Mozilla Public License 2.0
48 stars 39 forks source link

Empty sections created while using matching based on automation_id #223

Closed jasoneka closed 3 months ago

jasoneka commented 3 months ago

TestRail CLI Version

1.9.5

CLI Environment

MacOS 14.4, Python 3.11.6

TestRail Version

TestRail v8.0.3 Default (3070)

TestRail Instance Type

Professional Cloud

Current behavior

We use Playwright for running our E2E tests and then upload the results to the TestRail. So far we were using --case-matcher "name" but since we are kicking off Automate-First initiative we would like to switch to default case matching mode so using automation_id field. I did update the automation_id for our existing Test Cases however now on every run, the TestRail CLI is creating empty sections based on the testsuite name values even though all the test cases in the test suite are properly mapped to the existing TestRail's test cases in the different sections.

Desired behavior

Is there any way to skip creation of section when there are no new Test Cases or simply create sections only when Test Case is added?

More Details

No response

bitcoder commented 3 months ago

closing as duplicate of #222