Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 1.52 KB

README.md

File metadata and controls

45 lines (30 loc) · 1.52 KB

Copilot UI Test Generator Plugin DX Tests App

Running the application

The project is a standard Maven project. To run it from the command line, type mvnw (Windows), or ./mvnw (Mac & Linux), then open http://localhost:8080 in your browser.

You can also import the project to your IDE of choice as you would with any Maven project. Read more on how to import Vaadin projects to different IDEs (Eclipse, IntelliJ IDEA, NetBeans, and VS Code).

DX Test Structure

The test session consists of the following tasks. Please see comments in the code for descriptions.

1. Generate UI tests for a Flow view

  1. Activate Copilot
  2. Utilizing the copilot panel, generate UI tests for any Flow view

2. Examine and run the generated tests

  1. Use the generated link to navigate to the test class
  2. Examine the test code and project modifications
  3. Fix any compilation errors
  4. Run the generated integration tests
  5. Examine the test results

3. Generate UI tests for a Hilla React view

  1. Utilizing the copilot panel, generate UI tests for any Hilla React view

4. Examine and run the generated tests

  1. Use the generated link to navigate to the test class
  2. Examine the test code and project modifications
  3. Fix any compilation errors
  4. Run the generated integration tests
  5. Examine the test results

Documentation