'Convert Playwright recorded session into Codecept?
I'm trying to use PlayWright with codecept, while I can set up codecept to use playright and follow the behabiour driven I.something pattern I can't mimic this for codegen'd tests from playwright which are incompatible with codecept.
I get the following error if I try to do that:
1) plogin
test something:
plogin_test.ts:5:9: Playwright Test did not expect test() to be called here.
Most common reasons include:
- You are calling test() in a configuration file.
- You are calling test() in a file that is imported by the configuration file.
- You have two different versions of @playwright/test. This usually happens
when one of the dependenices in your package.json depends on @playwright/test.
Is ther a way to map or convert a Playwright codegen'd test with codecept or do I have to pick one or the other?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
