testsigmahq / testsigma

A powerful open source test automation platform for Web Apps, Mobile Apps, and APIs. Build stable and reliable end-to-end tests @ DevOps speed.
https://testsigma.com
Apache License 2.0
897 stars 187 forks source link

[TOS-999] fix(TestStepRepository) : element name change, changes in all versions #287

Closed akash-nixon closed 1 year ago

akash-nixon commented 1 year ago

Jira: https://testsigma.atlassian.net/browse/TOS-999

Actual Element name updating in the imported version also

Expected It should not update the imported version It should update within the version only

Fix in the query to update element name in teststep repository, i have added a third parameter where it checks for the workspace version id when it is triggered to update. this way only test step using this element will be updated in the same version and not in the other versions.