Skip to content

Support testing with SpringBootTest #2147

@mstahv

Description

@mstahv

In my apps running on Spring Boot and tested with Playwright, I have used the pattern to launch cases using Spring Boot's testing conventions/utilities. Pretty much like described here:

https://vaadin.com/docs/latest/flow/testing/playwright#first-playwright-test

I wanted to use TestBench with similar setup (for its convenience), but that ended up being quite difficult and finally gave up. We should ensure it is possible (somehow I remember I have done that in the past, but I might be mistaken, anyways, LLMs have now ruined my perseverance) and document how it is done. Probably in our Spring Boot examples this should also be the default approach.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Projects

    Status

    Maybe

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions