Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

docs(dotnet): add missing TestClass attribute (#16663)

Max Schmitt14ac443c856b
diff --git a/docs/src/intro-csharp.md b/docs/src/intro-csharp.md
index 6f5aeb6a44..1fe8423baa 100644
--- a/docs/src/intro-csharp.md
+++ b/docs/src/intro-csharp.md
@@ -132,6 +132,7 @@ using Microsoft.Playwright.MSTest;
namespace PlaywrightTests;
+[TestClass]
public class UnitTest1 : PageTest
{
[TestMethod]
diff --git a/docs/src/writing-tests-csharp.md b/docs/src/writing-tests-csharp.md
index b3e3aed8c2..e9bb085a9d 100644
--- a/docs/src/writing-tests-csharp.md
+++ b/docs/src/writing-tests-csharp.md
@@ -58,6 +58,7 @@ using Microsoft.Playwright.MSTest;
namespace PlaywrightTests;
+[TestClass]
public class UnitTest1 : PageTest
{
[TestMethod]
@@ -153,6 +154,7 @@ using Microsoft.Playwright.MSTest;
namespace PlaywrightTests;
+[TestClass]
public class UnitTest1 : PageTest
{
[TestMethod]
@@ -213,6 +215,7 @@ using Microsoft.Playwright.MSTest;
namespace PlaywrightTests;
+[TestClass]
public class UnitTest1 : PageTest
{
[TestMethod]