Parent testing issue: #1
Source defect report: https://github.com/eviltester/anywaydata-ai-testing/blob/main/docs/testing/20260625/issue-230-001/defects/NV-005-malformed-faker-params-example-echo.md
Testing artifact folder: https://github.com/eviltester/anywaydata-ai-testing/tree/main/docs/testing/20260625/issue-230-001
Original grid-table-editor story: eviltester/grid-table-editor#230
Original grid-table-editor PR: eviltester/grid-table-editor#247
The detailed defect report from the testing artifact is copied below.
NV-005: Malformed faker params message can echo a malformed example
Severity: Low
Status: confirmed in negative-validation lane.
Environment
Steps to Reproduce
- Open the deployed app and expand Test Data.
- Select
faker and choose helpers.arrayElement from the method picker.
- Enter malformed params such as
(["A","B".
- Click Generate.
Expected Result
The validation message should explain the expected wrapping/syntax without echoing an incomplete or confusing example.
Actual Result
The UI showed: params should be wrapped in parentheses, e.g. (["A","B").
The echoed example is itself incomplete/malformed, which makes it harder for users to repair the input.
Triage Decision
I'm ok with the params example, but the issue for me is - once the user does add the extra param, they do not see an issue regarding the malformed array, instead they see Row 1: invalid faker params - Invalid Faker API Call Unsafe faker rule syntax detected: requires complex argument parsing and this makes it hard to fix, because we do not treat arrayElement as an unsafe faker rule when the array is correct so we need to report that the param needs to be an array and show an example.
Parent testing issue: #1
Source defect report: https://github.com/eviltester/anywaydata-ai-testing/blob/main/docs/testing/20260625/issue-230-001/defects/NV-005-malformed-faker-params-example-echo.md
Testing artifact folder: https://github.com/eviltester/anywaydata-ai-testing/tree/main/docs/testing/20260625/issue-230-001
Original grid-table-editor story: eviltester/grid-table-editor#230
Original grid-table-editor PR: eviltester/grid-table-editor#247
The detailed defect report from the testing artifact is copied below.
NV-005: Malformed faker params message can echo a malformed example
Severity: Low
Status: confirmed in negative-validation lane.
Environment
../logs/negative-validation-test-log.md,../screenshots/negative-07-malformed-faker-params.pngSteps to Reproduce
fakerand choosehelpers.arrayElementfrom the method picker.(["A","B".Expected Result
The validation message should explain the expected wrapping/syntax without echoing an incomplete or confusing example.
Actual Result
The UI showed:
params should be wrapped in parentheses, e.g. (["A","B").The echoed example is itself incomplete/malformed, which makes it harder for users to repair the input.
Triage Decision
I'm ok with the params example, but the issue for me is - once the user does add the extra param, they do not see an issue regarding the malformed array, instead they see
Row 1: invalid faker params - Invalid Faker API Call Unsafe faker rule syntax detected: requires complex argument parsingand this makes it hard to fix, because we do not treat arrayElement as an unsafe faker rule when the array is correct so we need to report that the param needs to be an array and show an example.