Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
docs: update v1.51 js release notes (#34979)
Dmitry Gozman2dd541bc59f8
diff --git a/docs/src/release-notes-js.md b/docs/src/release-notes-js.mdindex ff2927daa2..c0f6d550dd 100644--- a/docs/src/release-notes-js.md+++ b/docs/src/release-notes-js.md@@ -40,16 +40,20 @@ import LiteYouTube from '@site/src/components/LiteYouTube';});```-* Set `gitCommit: 'generate'` property in [`property: TestConfig.metadata`] to capture git information that will be shown in a test report.+* Set option [`property: TestConfig.captureGitInfo`] to capture git information into [`property: TestConfig.metadata`].```js title="playwright.config.ts"import { defineConfig } from '@playwright/test';export default defineConfig({- metadata: { gitCommit: 'generate' },+ captureGitInfo: { commit: true, diff: true }});```+ HTML report will show this information when available:++ +### Test runner* A new [TestStepInfo] object is now available in test steps. You can add step attachments or skip the step under some conditions.