-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding duplicate feature should throw message and revert addition in TestScriptor page #87
Comments
@martonsagi : With 784ed01 I return now that a feature already exists. |
@DavidFeldhoff What is in the message object that you send back to the UI in this case? |
I made a change here, so that I now return false in the procedure correctly and the "userCancelledSaving" variable is true. But the issue of my previous comment remains. |
This is clearly no finished |
@martonsagi I'll put it on your name only as I return the correct state (in my eyes). If I'm missing something or if I can help you, let's have a chat. |
#125 has been implemented by clearing the value after failure. |
Agree with closing this issue because of fix for #125. |
When adding a duplicate feature a message should be thrown and the added feature reverted in TestScriptor page.
To Reproduce
Steps to reproduce the behavior execute the following test scenario
in atdd-test-scenarios-and-results.xlsx
Result
The Feature control on the ATDD.TestScriptor page remains while (rightly) no test codeunit has been created (as it already existed).
Expected result
The Feature control on the ATDD.TestScriptor page should be reverted and a message should be shown, telling "Feature already exists. Please update your feature definition so it is unique"
Belonging to #61.
The text was updated successfully, but these errors were encountered: