vaadin / vaadin/testbench

Support testing with SpringBootTest

Open
#2,147 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

documentation
Dominant language
Java
Stars
25
Forks
25
Avg merge
5h 9m
Merged PRs (30d)
44

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Begin with the repository's Spring Boot examples and compare their testing setup with the linked Playwright Spring Boot testing guidance. Determine a supported TestBench pattern, make it the default in the examples if appropriate, and document how to use it.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring-boot
Domain
documentation, testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.