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
914 stars 192 forks source link

[TOS-983] fix(action-step-form) : adding if condition for setting testDataProfileStepId #310

Closed akash-nixon closed 1 year ago

akash-nixon commented 1 year ago

Description

The test data profile is mapped to the test case yet while running the test it shows NO TDP is associated. This happens with a particular test case but if the same TDP is mapped to other test it works

Fix

added a if condition so that testDataProfileStepId is serialised only if the testStep is of type 'FOR_LOOP'