Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/eclipse-glsp/glsp-playwright

End-to-end testing library for Eclipse GLSP diagrams
https://github.com/eclipse-glsp/glsp-playwright

diagram-editor diagramming end-to-end-testing glsp playwright

Last synced: 3 months ago
JSON representation

End-to-end testing library for Eclipse GLSP diagrams

Awesome Lists containing this project

README

        

# Eclipse GLSP - Playwright [![CI](https://github.com/eclipse-glsp/glsp-playwright/actions/workflows/ci.yml/badge.svg)](https://github.com/eclipse-glsp/glsp-playwright/actions/workflows/ci.yml) [![Publish next](https://github.com/eclipse-glsp/glsp-playwright/actions/workflows/publish-next.yml/badge.svg)](https://github.com/eclipse-glsp/glsp-playwright/actions/workflows/publish-next.yml)

A Playwright-based framework for testing the [Graphical Language Server Platform (GLSP)](https://github.com/eclipse-glsp/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](https://github.com/eclipse-glsp/glsp-playwright/examples/workflow-test) demonstrate all supported features.

https://user-images.githubusercontent.com/588090/154459938-849ca684-11b3-472c-8a59-98ea6cb0b4c1.mp4

### How to test the Workflow Diagram example?

Clone this repository and build the packages:

```bash
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](./examples/workflow-test/README.md).

### 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](./docs) for further information on the used concepts.

## More information

For more information, please visit the [Eclipse GLSP Umbrella repository](https://github.com/eclipse-glsp/glsp) and the [Eclipse GLSP Website](https://www.eclipse.org/glsp/).
If you have questions, please raise them in the [discussions](https://github.com/eclipse-glsp/glsp/discussions) and have a look at our [communication and support options](https://www.eclipse.org/glsp/contact/).