theopensystemslab / planx-new

Plan✕ is a platform for creating and publishing digital planning services
https://editor.planx.uk
Mozilla Public License 2.0
14 stars 2 forks source link

feat[mal]: Map and Label Error and Validation Tests #3621

Closed RODO94 closed 1 month ago

RODO94 commented 2 months ago

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 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.

github-actions[bot] commented 2 months ago

Removed vultr server and associated DNS entries