It seems that you are experiencing issues with viewing test results on the Playwright Microsoft service when using Python's pytest. Here are a few things to consider:
- Service Configuration: Ensure that your service configuration is correctly set up to publish results. The configuration should allow for reporting to the Microsoft Playwright Testing service.
- Access Token: Verify that the access token you are using is valid and has the necessary permissions to publish results.
- Test Execution: When running tests with pytest, ensure that they are being executed in a manner that allows results to be captured and sent to the service. This might involve specific configurations or commands that differ from TypeScript executions.
- Reporting Feature: Make sure that the reporting feature is enabled for your workspace. You can check this in the service settings.
- Network Configuration: Since you are using the
expose_network
option, ensure that it is correctly configured to allow the necessary network traffic for reporting.
If you continue to face issues, consider checking the documentation for any specific requirements or troubleshooting steps related to Python pytest executions.
References: