marian51 / poc-playwright-typescript-gui-api

A repository containing a sample project based on Playwright, written using Typescript, showing testing of the GUI and API of given application.
3 stars 0 forks source link

Figure out a way to run hooks after test not directly after assertions #57

Closed marian51 closed 3 months ago

2pavel commented 3 months ago

@marian51 Znalazłem to na szybko, na razie zostawiam temat, ale warto do niego wrócić: https://playwright.dev/docs/api/class-test#test-after-all

When called inside a test.describe() group, runs after all tests in the group.

Analogicznie można z afterEach