rockmelonqa / rockmelonqa-ide

Test Automation IDE that generates and runs Playwright and Selenium code
MIT License
4 stars 3 forks source link

Prevent a Test Case from being saved when required fields are missing values #108

Closed brogreenmoon closed 1 year ago

brogreenmoon commented 1 year ago

Prevent a Test Case from being saved when required fields are missing values. The problem right now is that there is no validation, which in turn means codegen fails and it's quite difficult to relate that failure back to the source of the problem.

For example, when a Click action is performed but no page element is defined:

image

the following codegen error is displayed:

image

When I click Save the app should check that all mandatory fields (based on whether the action works against a page element or not) have values, and if they don't, then highlight those missing fields and prevent the page from being saved. Something like this:

image

hanglequan1991 commented 1 year ago

Hi @quockhanh , Please help me review this PR https://github.com/rockmelonqa/ide/pull/126

veebs commented 1 year ago

Will be imlemented with #118