-
Notifications
You must be signed in to change notification settings - Fork 15
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
[BUG]: Tests are marked as executed on windows despite being set to run on linux #140
Comments
Hi @AdamOakman |
Thanks @AdamOakman , we will come back with ETA for this. |
Hi! |
Hi @marcusNumminen, We were showing the client machine OS type and not the cloud browser OS info. To avoid confusion, we have removed showing this field in portal in last update. We have an item in backlog to show cloud browser OS info in future. |
But just to be clear here. Do the test run in Windows or Linux? My screenshot testing failed due to that I don't have screenshots for Windows (but I have for Linux). In my playwright config i use something like this: snapshotPathTemplate: '{snapshotDir}/{arg}-{platform}{ext}', In my opinion you should not remove the the OS type. I think you should have them both there, i.e. both OS type and Browser type. |
HI @marcusNumminen , Cloud Browser OS is defined by value of field os in getServiceConfig and irrespective of your client machine OS. In your case, value of {platform} field might be client OS value, if you want this value of cloud browser OS then i suggest you to do some plumbing to have this value same as value passed in getServiceConfig to match cloud browser OS. As I mentioned currently, we were earlier showing client machine OS which was confusing for customers hence we have removed it. We are evaluating if we could show both client OS as well as Cloud Browser OS for more clarity. |
Hi! |
HI @marcusNumminen, Service has isolated cloud browsers hosted on linux and windows contains and we connect your browser request depend upon your config ask. If you can tell us more about your scenario then we could clarify exact question. https://learn.microsoft.com/en-us/azure/playwright-testing/overview-what-is-microsoft-playwright-testing |
@marcusNumminen We recently did a session on the Playwright YouTube community, you can check it out to understand more about the service. |
Describe the bug
Tests are marked in Playwright portal as executed on windows despite being set to run on linux in playwright.service.config.ts
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Tests should be executed on Linux and information in Playwright portal should confirm it correctly
Screenshots
Additional context
playwright.service.config.ts
The text was updated successfully, but these errors were encountered: