eclipse-glsp / glsp-playwright

End-to-end testing library for Eclipse GLSP diagrams

Home Page:https://www.eclipse.dev/glsp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Eclipse GLSP - Playwright

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.

About

End-to-end testing library for Eclipse GLSP diagrams

https://www.eclipse.dev/glsp

License:Other


Languages

Language:TypeScript 99.3%Language:JavaScript 0.7%