Playwright Tutorial - (NODEJS) Get Test Information during test execution

Опубликовано: 14 Декабрь 2024
на канале: CommitQuality
1,208
34

TestInfo contains information about currently running test. It is available to any test function, test.beforeEach() and test.afterEach() hooks and test-scoped fixtures. TestInfo provides utilities to control test execution: attach files, update test timeout, determine which test is currently running and whether it was retried, etc.

Link to Website: https://computer-database.gatling.io/...
Test information documentation: https://playwright.dev/docs/api/class...