zenika-open-source / zenika-a11y-components

Apache License 2.0
4 stars 1 forks source link

Use Cucumber + Playwright to run functionnal test in browsers #1

Closed JeremiePat closed 2 years ago

JeremiePat commented 3 years ago

Regardless of the technology used to create our components, we need to set up a way to test them in browsers. The functional requirements are all the same but each individual implementation needs to setup its own environment.

To achieve that we plan to use :

We expect some difficulties when it will come to implement Cucumber steps for each components technologies but we will manage this in dedicated issues.

Here we want to track:

JeremiePat commented 3 years ago

Note that CucumberJS has some issues in a Node ESM environment:

JeremiePat commented 3 years ago

CucumbreJS is currently lock to version 7.2.0 to have a minimum support for ESM (which makes our life way easier). Let's keep that issue open to track full ESM support by CucumberJS in the next couple of weeks/month. If it takes too long we will open with a new issue to avoid blocking our MVP.

JeremiePat commented 2 years ago

Moved to CucumberJS 8.0.0-rc2 which is working just fine 😁 Time to close this issue.