Integration tests launch the browser with an empty context root when server.contextPath is configured causing tests to not work.
Grails 3.1.x
Looks to be due to how geb.base.url is being populated in IntegrationTestMixinTransformation
https://github.com/grails/grails-core/blob/master/grails-plugin-testing/src/main/groovy/org/grails/compiler/injection/test/IntegrationTestMixinTransformation.groovy#L177