Open brogreenmoon opened 1 year ago
Hi @brogreenmoon Here is a proposed rules for the validations of the steps. Given that currently each step has 3 peices of info: Page, Element, and Data.
This is working perfectly for test cases, but not for test routines. For example:
gives:
Milestone v0.2.4 is already released, please move this ticket to other milestone
Hi @brogreenmoon What are the new requirements/issues with this one?
Manage missing mandatory fields by showing an error at the codegen stage.
For example, I save a test case with missing actions, pages and elements, like so:
When the test cases are parsed it should check that mandatory fields are present, and if any are not present codegen should stop at the end of the "Parsing" phase with the message "Parsing FAILED." and not move onto "Cleaning folder".
Errors should be shown in the codegen log for these, e.g:
Error: testFailures.tcase - Line 1, Action "Click" is missing "Element" Error: testFailures.tcase - Line 2, Missing "Action" Error: testFailures.tcase - Line 3, Action "Input" is missing "Page" and "Element"