Example: https://github.com/microsoft/playwright/discussions/17813 I can see something similar to this being part of the project.
it would also need to solve this question: https://github.com/microsoft/playwright/discussions/14688
possible solutions: typescript variadic tuple types. where "base" is last argument in all enabled*fixtures.
composeFixtures(base, [ enableFailTestIfLogHasWarningOrErrors.bind(null, [(log) => msg.text().includes('ignore')]) ])
or should i just copy and paste : ).
This thread is trying to answer question "Has anyone started a community fixtures project?"
Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email firstname.lastname@example.org.