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

[Bug]: Incorrect start and end indices for data driven test results in endless loading screen #373

Open Reactodactyl opened 1 year ago

Reactodactyl commented 1 year ago

Is there an existing issue for this?

What is the current behavior?

When a test data set is configured such that the start index is greater than the end index, the test results are not displayed/generated which results in a endless loading screen.

What is the expected behavior?

A Test data set indices should be validated so that users can be prompted if the indices are incorrectly set.

PS. Bug could be related to the validateSetNamesBoundaries function

Steps To Reproduce

Login to test sigma Create a Test Case Select Show Advanced Options Select the Test Data Profile (your choice) Toogle Data Driven option Select the Test Data Set Select a start index that is less than the end index Insert parameter in test case step Run test case

Version

Testsigma Community Edition