Opt out of cloud hosted browser in Microsoft Playwright Testing service config: useCloudHostedBrowsers: false
Include @azure/microsoft-playwright-testing/reporter reporter in config
Expected behavior
Error thrown to indicate that browserName is required, or upload test results without browser name, or maybe use an alternative way (if there's one) to get the browser name.
Setup information (please complete the following information):
Azure Subscription Id: N/A
Workspace Name: N/A
Service trace Id (if available):
Log snippet (if available):
Browser on which tests are executed (if applicable):
Time range (in PST) when the issue was experienced:
Describe the bug When
browserName
option is not set in config, test reporting will fail silentlyI'm guessing it's failing here:
reporterUtils.ts#L161
To Reproduce Steps to reproduce the behavior:
browserName
option in Playwright configuseCloudHostedBrowsers: false
@azure/microsoft-playwright-testing/reporter
reporter in configExpected behavior Error thrown to indicate that
browserName
is required, or upload test results without browser name, or maybe use an alternative way (if there's one) to get the browser name.Setup information (please complete the following information):