The auto-configuration of HttpGraphQlTester
is broken for a running server. Previously we had HttpGraphQlTesterContextCustomizer
that would append /graphql
to the base url and that customizer has been removed.
HttpGraphQlTesterAutoConfiguration
is supposed to handle a server and mock. But it's left with the mock use case only. When it is invoked with a running server, it attempts to mutate the baseUrl which doesn't work. The customizer did retrieve the base url (with the random port, etc) and then adding the context path. We should find a way to do the same.
This breaks the AOT smoke tests so an integration test for that scenario is missing as well.