blog
blog copied to clipboard
Play with Playwright
_webApplicationFactory.ServerAddress; doesn't exist.
I changed it to: protected string GetServerAddress() => _webApplicationFactory.Server.BaseAddress.AbsolutePath; and that seems to do what you intended.
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