From 403b723a2c5ff407d837ed341a46889091a96083 Mon Sep 17 00:00:00 2001 From: Playwright Service <89237858+playwrightmachine@users.noreply.github.com> Date: Fri, 19 Aug 2022 23:44:21 -0700 Subject: [PATCH] chery-pick(#16663): docs(dotnet): add missing TestClass attribute (#16700) Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> --- docs/src/intro-csharp.md | 1 + docs/src/writing-tests-csharp.md | 3 +++ 2 files changed, 4 insertions(+) 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]