Skip to content

A demo application for using Playwright to end-to-end test a Vaadin application

License

Notifications You must be signed in to change notification settings

eriklumme/vaadin-playwright-demo

Repository files navigation

Demo application for testing Vaadin with Playwright and Junit

This project was created from https://start.vaadin.com with some modifications. It demonstrates how Playwright and Junit can be used to test a Vaadin application.

The text below was automatically generated by start.vaadin.com.

The project is a standard Maven project, so you can import it to your IDE of choice. You'll need to have Java 8+ and Node.js 10+ installed.

To run from the command line, use mvn and open http://localhost:8080 in your browser.

Project structure

Directory Description
frontend/ Client-side source directory
    index.html HTML template
    index.ts Frontend entrypoint, contains the client-side routing setup using Vaadin Router
    main-layout.ts Main layout Web Component, contains the navigation menu, uses App Layout
    views/ UI views Web Components (TypeScript)
    styles/ Styles directory (CSS)
src/main/java/<groupId>/ Server-side source directory, contains the server-side Java views
    Application.java Server entrypoint

What next?

vaadin.com has lots of material to help you get you started:

About

A demo application for using Playwright to end-to-end test a Vaadin application

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published