microsoft / playwright-testing-service

MIT License
88 stars 14 forks source link

[BUG]: Report not uploaded to workspace #131

Closed mkgreenventory closed 1 month ago

mkgreenventory commented 1 month ago

Describe the bug When I run out whole test suite, the test report is not uploaded to our workspace. The test run appears there, but the results are missing.

In my pipeline it says "The request made to the server is invalid. Please check the request parameters and try again."

When I run only a few tests, this issue does not occur. Only when I execute a larger amount of tests.

To Reproduce Steps to reproduce the behavior:

  1. Execute test suite (30+ tests) via Azure Devops pipeline
  2. Observe the error

Expected behavior

Screenshots image

Setup information (please complete the following information):

Additional context

muthamizh1504 commented 1 month ago

Yes, the same behavior has been observed while running 14 tests on non-CloudHostedBrowsers and sending the test report to our workspace, but it looks okay when running fewer tests.

Behavior while running fewer test 1 passed (13.7s) Uploading test results. [========================================] 100% Test report: https://playwright.microsoft.com/workspaces/westeurope_b87e9689-b6a0-480e-a941-ed7a982d5833/runs/11134673564-1-af88b00ef61e9f587ba0c57b00046fe8c5dbb63b-Integration

Behavior while running more tests: 12 passed and 2 failed The request made to the server is invalid. Please check the request parameters and try again.

Uploading test results. [=== ] 6% [===== ] 13% [======== ] 19% [========== ] 25% [============= ] 31% [=============== ] 38% [================== ] 44% [==================== ] 50% [======================= ] 56% [========================= ] 63% [============================ ] 69% [============================== ] 75% [================================= ] 81% [=================================== ] 88% [====================================== ] 94% [========================================] 100% Test report: https://playwright.microsoft.com/workspaces/westeurope_b87e9689-b6a0-480e-a941-ed7a982d5833/runs/11134808876-1-4d2e489913fad943933bfc8d3059f7ee3257ac4e-Integration

  1. The request made to the server is invalid. Please check the request parameters and try again.
kj0171 commented 1 month ago

Thank you for reporting this issue.
We are actively looking into it.

kj0171 commented 1 month ago

Sorry for the inconvenience caused. We have just put out a fix for the above. Can you please try again.

In case you face similar issue again, please feel free to comment. Thanks

vvs11 commented 1 month ago

@mkgreenventory , @muthamizh1504 We have resolved this. Could you retry and verify if it is working for you

muthamizh1504 commented 1 month ago

@mkgreenventory , @muthamizh1504 We have resolved this. Could you retry and verify if it is working for you

It is now working for me. Thanks for the quick fix!

mkgreenventory commented 1 month ago

@vvs11 It is also working for me now. Thanks!