Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Play with Playwright #175

Open
utterances-bot opened this issue Nov 14, 2023 · 2 comments
Open

Play with Playwright #175

utterances-bot opened this issue Nov 14, 2023 · 2 comments

Comments

@utterances-bot
Copy link

Play with Playwright

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

Copy link

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

Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants