Skip to content

eclipse-glsp/glsp-playwright

Repository files navigation

Eclipse GLSP - Playwright CI Publish next

A Playwright-based framework for testing the Graphical Language Server Platform (GLSP).

Structure

  • @eclipse-glsp/glsp-playwright: Generic Playwright testing framework

Building

This project is built with yarn.

Workflow Diagram Example

The workflow diagram is a consistent example provided by all GLSP components. The example implements a simple flow chart diagram editor with different types of nodes and edges (see below). The example can be used to try out different GLSP features, as well as several available integrations with IDE platforms (Theia, VS Code, Eclipse, Standalone).

The example test cases test the features provided by the GLSP client. The test cases in the Workflow Example demonstrate all supported features.

diagramanimated.mp4

How to test the Workflow Diagram example?

Clone this repository and build the packages:

yarn install

This command will also install Playwright, the necessary browsers and the GLSP-Server.

Once the installation is finished, follow the instructions to test the example in the example folder.

Tasks

The repository also provides build & watch tasks, so that you can build all packages with the task Build all or start watching all packages with Watch all.

Documentation

We provide a Documentation for further information on the used concepts.

More information

For more information, please visit the Eclipse GLSP Umbrella repository and the Eclipse GLSP Website. If you have questions, please raise them in the discussions and have a look at our communication and support options.