A Playwright-based framework for testing the Graphical Language Server Platform (GLSP).
@eclipse-glsp/glsp-playwright
: Generic Playwright testing framework
This project is built with yarn
.
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
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.
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
.
We provide a Documentation for further information on the used concepts.
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.