blog icon indicating copy to clipboard operation
blog copied to clipboard

Play with Playwright

Open utterances-bot opened this issue 1 year ago • 2 comments

Play with Playwright

https://asp.net-hacker.rocks/2023/03/08/play-with-playwright.html

utterances-bot avatar Nov 14 '23 19:11 utterances-bot

_webApplicationFactory.ServerAddress; doesn't exist. I changed it to: protected string GetServerAddress() => _webApplicationFactory.Server.BaseAddress.AbsolutePath; and that seems to do what you intended.

A9G-Data-Droid avatar Nov 14 '23 19:11 A9G-Data-Droid

I am facing an error after completion of test execution in C#-MSTest ......Test result == failed Message: TestCleanup method: xxx.xxxxx.BrowserTearDown threw exception. System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object... Stack Trace: PLaywrightTest.get TestOK() BrowserTest.BrowserTearDown()

Expected: Test Result == Pass

SPPlaywright avatar Mar 02 '24 20:03 SPPlaywright