Closed dalyIsaac closed 5 days ago
@microsoft-github-policy-service agree
36923 passed, 650 skipped :heavy_check_mark::heavy_check_mark::heavy_check_mark:
Merge workflow run.
@dalyIsaac Thank you for the PR! We've discussed this and decided that we are not ready to commit to such an API yet. Meanwhile we recommend manually wrapping with an async describe - I've updated #27138 to mention that.
The current way to specify fixture inputs for a single test is to do the following:
This PR is an attempt to address #27138 by adding
fixtures
to theTestDetails
for a test, enabling the following:This appeared to be the most straightforward way to specify fixtures for a single test. However, it has the downside of creating an implicit anonymous
test.describe
suite around each test that specifies fixtures, which may be confusing in Playwright UIs - also this is related to #30476.If this approach is acceptable, I will update the documentation accordingly. Otherwise, I am happy to try a different approach or close this PR entirely if it's not desired.