---
title: "Comment by Willy De la Cruz Sierra on \"Playwright - Fixtures\" | Hashnode"
description: "Thanks for this post, Luca. Very insightful. I&#39;m still not clear on how fixtures could be composed from other fixtures and how can multiple fixtures could b"
url: "https://hashnode.com/posts/playwright-fixtures/63b691ba739fb787e25a570f/comment/63da97c7b7131763ef1af11f"
---

[Discussion](https://hashnode.com/posts/playwright-fixtures/63b691ba739fb787e25a570f)

Comment [Playwright - Fixtures](https://hashnode.com/posts/playwright-fixtures/63b691ba739fb787e25a570f)

[Willy De la Cruz Sierra](https://hashnode.com/@wdelacruz)

[Feb 1, 2023](https://hashnode.com/posts/playwright-fixtures/63b691ba739fb787e25a570f/comment/63da97c7b7131763ef1af11f)

Thanks for this post, Luca. Very insightful. I'm still not clear on how fixtures could be composed from other fixtures and how can multiple fixtures could be used in a test. The PW documentation on fixtures is not very extensive unfortunately.

[Luca Del Puppo](https://hashnode.com/@Puppo92)

[Feb 1, 2023](https://hashnode.com/posts/playwright-fixtures/63b691ba739fb787e25a570f/comment/63da97c7b7131763ef1af11f#reply-63dab9031699246a25c21d97)

Hi [Willy De la Cruz Sierra](https://hashnode.com/@wdelacruz), thanks for your feedback. I know the doc is not extensive at this moment, unfortunately. I tried to create new examples in this [branch](https://github.com/Puppo/playwright-series/tree/05-fixture-dive), so please take a look there. In a nutshell, the idea is to create small functions that return or do something. Then you can expose them directly as your base test function, or you can create a new one on each test file in base on your tests. For instance, you can create a reusable fixture, if this fixture is required in most of the tests, or create a specific one if the fixture is just for one or two tests in the same file. Let me know if the examples are clear; in case, I'll try to be more exhaustive.
