Publishing test cases converts project into a test project (Studio 2024.10.8)

Case
I have a library project and I want to add a few tests into it and publish them to Orchestrator in order to run them. I am using Studio 2024.10.8.

Problem
When I add a test case into the library, set the test case file as publishable and then when I publish it via Publish > Publish Test Cases, it automatically converts the whole project into a test project.

I noticed the conversion after I closed and reopened the project because activity layout seemed strange and then I checked the updated project.json.

Converted from Library to Tests and also renamed the project:

image

This also happens with a normal automation project, so it’s not a library specific problem. It must be a bug, right? I want to keep the project as it is, a normal project. With some older Studio version this did not happen, and I could publish either the project or the tests cases without any problems.

1 Like

Hello,

just to add to the discussion that I’m also interested by the answer, we have exact same behavior but for rpa projects, not specific to libraries. We need to Undo changes after publishing test cases…

Best regards

I ended up doing the same: Implement tests to project → commit changes to repository → publish tests → undo changes after publish. Not nice, but works.