@@ -36,7 +36,7 @@ test('should be able to forward DEBUG=pw:api env var', async ({ runTest }) => {
3636
3737 namespace Playwright.TestingHarnessTest.MSTest;
3838
39- [TestClass]
39+ [TestClass]
4040 public class <class-name> : PageTest
4141 {
4242 [TestMethod]
@@ -81,7 +81,7 @@ test('should be able to set the browser via the runsettings file', async ({ runT
8181
8282 namespace Playwright.TestingHarnessTest.MSTest;
8383
84- [TestClass]
84+ [TestClass]
8585 public class <class-name> : PageTest
8686 {
8787 [TestMethod]
@@ -120,7 +120,7 @@ test('should prioritize browser from env over the runsettings file', async ({ ru
120120
121121 namespace Playwright.TestingHarnessTest.MSTest;
122122
123- [TestClass]
123+ [TestClass]
124124 public class <class-name> : PageTest
125125 {
126126 [TestMethod]
@@ -161,7 +161,7 @@ test('should be able to make the browser headed via the env', async ({ runTest }
161161
162162 namespace Playwright.TestingHarnessTest.MSTest;
163163
164- [TestClass]
164+ [TestClass]
165165 public class <class-name> : PageTest
166166 {
167167 [TestMethod]
@@ -192,7 +192,7 @@ test('should be able to parse BrowserName and LaunchOptions.Headless from runset
192192
193193 namespace Playwright.TestingHarnessTest.MSTest;
194194
195- [TestClass]
195+ [TestClass]
196196 public class <class-name> : PageTest
197197 {
198198 [TestMethod]
@@ -233,7 +233,7 @@ test('should be able to parse LaunchOptions.Proxy from runsettings', async ({ ru
233233
234234 namespace Playwright.TestingHarnessTest.MSTest;
235235
236- [TestClass]
236+ [TestClass]
237237 public class <class-name> : PageTest
238238 {
239239 [TestMethod]
@@ -281,7 +281,7 @@ test('should be able to parse LaunchOptions.Args from runsettings', async ({ run
281281
282282 namespace Playwright.TestingHarnessTest.MSTest;
283283
284- [TestClass]
284+ [TestClass]
285285 public class <class-name> : PageTest
286286 {
287287 [TestMethod]
@@ -316,10 +316,10 @@ test('should be able to override context options', async ({ runTest }) => {
316316 using Microsoft.Playwright;
317317 using Microsoft.Playwright.MSTest;
318318 using Microsoft.VisualStudio.TestTools.UnitTesting;
319-
319+
320320 namespace Playwright.TestingHarnessTest.MSTest;
321321
322- [TestClass]
322+ [TestClass]
323323 public class <class-name> : PageTest
324324 {
325325 [TestMethod]
@@ -371,7 +371,7 @@ test('should be able to override launch options', async ({ runTest }) => {
371371
372372 namespace Playwright.TestingHarnessTest.MSTest;
373373
374- [TestClass]
374+ [TestClass]
375375 public class <class-name> : PageTest
376376 {
377377 [TestMethod]
@@ -409,7 +409,7 @@ test.describe('Expect() timeout', () => {
409409
410410 namespace Playwright.TestingHarnessTest.MSTest;
411411
412- [TestClass]
412+ [TestClass]
413413 public class <class-name> : PageTest
414414 {
415415 [TestMethod]
@@ -424,7 +424,7 @@ test.describe('Expect() timeout', () => {
424424 expect ( result . passed ) . toBe ( 0 ) ;
425425 expect ( result . failed ) . toBe ( 1 ) ;
426426 expect ( result . total ) . toBe ( 1 ) ;
427- expect ( result . rawStdout ) . toContain ( "LocatorAssertions. ToHaveTextAsync with timeout 5000ms" )
427+ expect ( result . rawStdout ) . toContain ( "Expect \" ToHaveTextAsync\" with timeout 5000ms" )
428428 } ) ;
429429
430430 test ( 'should be able to override it via each Expect() call' , async ( { runTest } ) => {
@@ -434,10 +434,10 @@ test.describe('Expect() timeout', () => {
434434 using System.Threading.Tasks;
435435 using Microsoft.Playwright.MSTest;
436436 using Microsoft.VisualStudio.TestTools.UnitTesting;
437-
437+
438438 namespace Playwright.TestingHarnessTest.MSTest;
439-
440- [TestClass]
439+
440+ [TestClass]
441441 public class <class-name> : PageTest
442442 {
443443 [TestMethod]
@@ -452,7 +452,7 @@ test.describe('Expect() timeout', () => {
452452 expect ( result . passed ) . toBe ( 0 ) ;
453453 expect ( result . failed ) . toBe ( 1 ) ;
454454 expect ( result . total ) . toBe ( 1 ) ;
455- expect ( result . rawStdout ) . toContain ( "LocatorAssertions. ToHaveTextAsync with timeout 100ms" )
455+ expect ( result . rawStdout ) . toContain ( "Expect \" ToHaveTextAsync\" with timeout 100ms" )
456456 } ) ;
457457 test ( 'should be able to override it via the global settings' , async ( { runTest } ) => {
458458 const result = await runTest ( {
@@ -464,7 +464,7 @@ test.describe('Expect() timeout', () => {
464464
465465 namespace Playwright.TestingHarnessTest.MSTest;
466466
467- [TestClass]
467+ [TestClass]
468468 public class <class-name> : PageTest
469469 {
470470 [TestMethod]
@@ -487,7 +487,7 @@ test.describe('Expect() timeout', () => {
487487 expect ( result . passed ) . toBe ( 0 ) ;
488488 expect ( result . failed ) . toBe ( 1 ) ;
489489 expect ( result . total ) . toBe ( 1 ) ;
490- expect ( result . rawStdout ) . toContain ( "LocatorAssertions. ToHaveTextAsync with timeout 123ms" )
490+ expect ( result . rawStdout ) . toContain ( "Expect \" ToHaveTextAsync\" with timeout 123ms" )
491491 } ) ;
492492} ) ;
493493
@@ -501,7 +501,7 @@ test.describe('ConnectOptions', () => {
501501
502502 namespace Playwright.TestingHarnessTest.MSTest;
503503
504- [TestClass]
504+ [TestClass]
505505 public class <class-name> : PageTest
506506 {
507507 [TestMethod]
0 commit comments