Run > npm install @microsoft/applicationinsights-web
Add the code to log from Playwright to your App Insights as shown below:
=========================
Playwright Series
Playwright Post 1 - Overview of E2E testing using Playwright
Playwright Post 2 - Continuously Test/Monitor Canvas apps and website with MFA enabled
Playwright Post 3 - Add App Insights logging inside your Playwright tests (this post)
Playwright Post 4 - 6 Min walkthru of Playwright testing with Azure Monitor
Playwright Post 5 - Understanding how Playwright works
Playwright Post 6 - Unattended testing when secured with MFA
Other Posts
Upgrading two C# Blazor web applications and verifying using Playwright - super fast
Mendix - Part 2 - Diving deeper (E2E automation testing of Mendix using Playwright)
Low-code testing with Playwright walkthru
Continuously Monitor Apps using Playwright with TS
Testing Canvasa apps with Playwright using C# (rather use TS, it's better)
0 comments:
Post a Comment