prisma-labs / konn

MIT License
89 stars 4 forks source link

Add support for Playwright test runner #33

Open KATT opened 2 years ago

KATT commented 2 years ago

Perceived Problem

Playwright's test runner would be nice to support.

Ideas / Proposed Solution(s)

Support Playwright's test runner

jasonkuhrt commented 2 years ago

Thanks @KATT, any research you can already share would be great.

Questions I have:

  1. Are the hooks the same as Jest?
    • beforeAll / afterAll
    • beforeEach / afterEach
  2. Are the hooks accessed globally? If not, how? What is their scope(s)? E.g. does a test instance need to be passed? A test suite instance? Etc.
  3. Does PW have its own concept of composable context already? If so how does it work? Once understood, we can then understood if Konn augments, replaces, or co-exists with that system.