binkley / kotlin-spring-boot-hateoas-database

Kick the tires on Spring Boot HATEOAS with a database
The Unlicense
1 stars 0 forks source link

Test JavaScript for changes to Swagger UI configuration #64

Open binkley opened 1 year ago

binkley commented 1 year ago

Because the Swagger UI endpoint produces HTML that only imports JavaScript, current tests do not execute the JavaScript, and are unable to validate changes to UI configuration.

Research https://docs.spring.io/spring-framework/docs/current/reference/html/testing.html#spring-mvc-test-server-htmlunit.