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: add missing group id for tabs (#16196)
Debbie O'Brien8e4f1ed8111e
diff --git a/docs/src/intro-csharp.md b/docs/src/intro-csharp.mdindex 6d37038d03..341cc735c9 100644--- a/docs/src/intro-csharp.md+++ b/docs/src/intro-csharp.md@@ -10,6 +10,7 @@ You can choose to use [NUnit base classes](./test-runners.md#nunit) or [MSTest b1. Start by creating a new project with `dotnet new`. This will create the `PlaywrightTests` directory which includes a `UnitTest1.cs` file:<Tabs+ groupId="test-runners"defaultValue="nunit"values={[{label: 'NUnit', value: 'nunit'},@@ -37,6 +38,7 @@ cd PlaywrightTests2. Install the necessary Playwright dependencies:<Tabs+ groupId="test-runners"defaultValue="nunit"values={[{label: 'NUnit', value: 'nunit'},@@ -76,6 +78,7 @@ pwsh bin\Debug\netX\playwright.ps1 installEdit the `UnitTest1.cs` file with the code below to create an example end-to-end test:<Tabs+ groupId="test-runners"defaultValue="nunit"values={[{label: 'NUnit', value: 'nunit'},@@ -160,6 +163,7 @@ public class UnitTest1 : PageTestBy default tests will be run on Chromium. This can be configured via the `BROWSER` environment variable, or by adjusting the [launch configuration options](./test-runners.md). Tests are run in headless mode meaning no browser will open up when running the tests. Results of the tests and test logs will be shown in the terminal.<Tabs+ groupId="test-runners"defaultValue="nunit"values={[{label: 'NUnit', value: 'nunit'},diff --git a/docs/src/writing-tests-csharp.md b/docs/src/writing-tests-csharp.mdindex 85bd775a83..ee03f182ac 100644--- a/docs/src/writing-tests-csharp.md+++ b/docs/src/writing-tests-csharp.md@@ -8,6 +8,7 @@ Playwright assertions are created specifically for the dynamic web. Checks are aTake a look at the example test below to see how to write a test using web first assertions, locators and selectors.<Tabs+ groupId="test-runners"defaultValue="nunit"values={[{label: 'NUnit', value: 'nunit'},@@ -117,6 +118,7 @@ await Expect(Page.Locator("text=Installation")).ToBeVisibleAsync();The Playwright NUnit and MSTest test framework base classes will isolate each test from each other by providing a separate `Page` instance. Pages are isolated between tests due to the Browser Context, which is equivalent to a brand new browser profile, where every test gets a fresh environment, even when multiple tests run in a single Browser.<Tabs+ groupId="test-runners"defaultValue="nunit"values={[{label: 'NUnit', value: 'nunit'},@@ -169,6 +171,7 @@ public class UnitTest1 : PageTestYou can use `SetUp`/`TearDown` in NUnit or `TestInitialize`/`TestCleanup` in MSTest to prepare and clean up your test environment:<Tabs+ groupId="test-runners"defaultValue="nunit"values={[{label: 'NUnit', value: 'nunit'},