{"repo":"SebastianSedzik/playwright-decorators","free":true,"listed":false,"github":"https://github.com/SebastianSedzik/playwright-decorators","clone":"git clone https://github.com/SebastianSedzik/playwright-decorators.git","description":"TypeScript's decorators for writing Playwright based tests.","language":"TypeScript","stars":20,"topics":["playwright","playwright-typescript","typescript-decorators","playwright-tests","typescript"],"license":null,"category":"scrapers-browser-automation","readme_excerpt":"playwright-decorators TypeScript's decorators for writing Playwright based tests. 🌱 Installation 👀 Examples Declare tests using @suite and @test decorators 1. To view all the available decorators, check the docs section. 2. For guidance on creating custom decorators, refer to the custom decorators section. 3. Explore additional examples in the examples directory. 📖 Docs - Creating a test suite: @suite - Creating a test: @test - Run method before all tests in the suite: @beforeAll - Run method before each test in the suite: @beforeEach - Run method after all tests in the suite: @afterAll - Run method after each test in the suite: @afterEach - Skip test or suite: @skip - Mark test or suite as \"should fail\": @fail - Mark test or suite as \"fixme\", with the intention to fix it: @fixme - Mark test or suite as \"slow\": @slow - Run only selected test(s) or suite(s): @only - Run test(s) or suite(s) with certain tag(s): @tag - Add custom annotation to test(s): @annotate - Change or set retries for test(s): @retries - Run test(s) or suite(s) in debug mode: @debug - Run test(s) or suite(s) in preview mode: @preview - Create custom decorator: createSuiteDecorator , createTestDecorator , createSuiteAndTestDecorator - Using custom fixtures: extend Creating a test suite: @suite(options?) Mark class as test suite. Under the hood, decorator creates a describe block and runs all methods decorated by @test inside it. Options - name (optional) - name of the test suite. By default, name of the c","default_branch":null,"files":null,"tree":[],"storefront":"/r/SebastianSedzik","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/SebastianSedzik/playwright-decorators/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}