The problem:
In DMN Boxed Expression Editor, we are using Playwright to write E2E tests, which can be a bit verbose and hard to write new tests with a lot of copy-paste of code.
For example, consider the code below to add a new entry in the Context Expression:
Also, consider that in the example above we can change the name of the Context, so the example will not work without changing the ContextEntry-1 to the new name.
This can become very tricky and annoying in more complex scenarios.
The solution:
We need an API to encapsulate the Playwright details and make it easier and clearer to perform tests in BEE.
The problem: In DMN Boxed Expression Editor, we are using Playwright to write E2E tests, which can be a bit verbose and hard to write new tests with a lot of copy-paste of code.
For example, consider the code below to add a new entry in the Context Expression:
Also, consider that in the example above we can change the name of the Context, so the example will not work without changing the
ContextEntry-1
to the new name.This can become very tricky and annoying in more complex scenarios.
The solution:
We need an API to encapsulate the Playwright details and make it easier and clearer to perform tests in BEE.