Open fafane opened 1 month ago
We will check and fix this
After some digging, the problem seems to be with server/src/main/resources/db/bootstrap/V215__bootstrap_test_data_function_files.sql. The field class_package for DateFunctions should be com.testsigma.automator.testdata.functions and not com/testsigma/customfunc... If you update the field in the table default_data_generator_files, you don't have the error anymore.
Noted. @fafane We will go though this and make changes in the code to fix it.
Is there an existing issue for this?
What is the current behavior?
I tried to run a test using !|DateFunctions :: DateAfterToday| with the following parameters : 1 and dd/MM/yyyy Unfortunately, the execution gives this error : Test Data Function class "DateFunctions" not found while executing test data custom function "dateAfterToday"
What is the expected behavior?
The input field has a date after today
Steps To Reproduce
Create a Test Case with a step using Data Generator Select DateFunctions DateAfterToday and Fill the parameters with 1 and dd/MM/yyyy Launch the test and you will get this error for the step : Test Data Function class "DateFunctions" not found while executing test data custom function "dateAfterToday"
Version
Testsigma Community Edition