Skip to content

Geb Specs not honoring server.contextPath #10306

@scrain

Description

@scrain

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

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions