I am writing tests for the Error and Validationdescribe() as part of larger work to write tests for all of the test.todos().
My plan is to push up a PR for each describe() section so I can deal with feedback as I go and hopefully improve / fix any structure or logic issues.
For error checking at the Tab, I went with checking for the border-left styling as I couldn't see anything more specific to work from. From here I checked that this is removed when a new feature is added but is reapplied when you click "Continue" without adding new inputs.
The original test.todos there was one for Maximum number as an inverse to the minimum it() block I have written, but I didn't think there was a maximum for this component so I removed it.
What does this PR do?
This PR follows work completed in: #3604
I am writing tests for the Error and Validation
describe()
as part of larger work to write tests for all of thetest.todos()
.My plan is to push up a PR for each
describe()
section so I can deal with feedback as I go and hopefully improve / fix any structure or logic issues.For error checking at the Tab, I went with checking for the
border-left
styling as I couldn't see anything more specific to work from. From here I checked that this is removed when a new feature is added but is reapplied when you click "Continue" without adding new inputs.The original
test.todos
there was one for Maximum number as an inverse to the minimumit()
block I have written, but I didn't think there was a maximum for this component so I removed it.