Skip to content
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

[Docs]: test-configuration For .Net #30890

Open
michael-freidgeim-webjet opened this issue May 18, 2024 · 3 comments · May be fixed by microsoft/playwright.dev#1396
Open

[Docs]: test-configuration For .Net #30890

michael-freidgeim-webjet opened this issue May 18, 2024 · 3 comments · May be fixed by microsoft/playwright.dev#1396
Assignees
Labels

Comments

@michael-freidgeim-webjet

Page(s)

https://playwright.dev/docs/test-configuration exists but
https://playwright.dev/dotnet/docs/test-configuration doesn’t exist

Description

The page “ Test configuration” https://playwright.dev/docs/test-configuration shows Node.js instructions.
However when I tried to switch to .Net, it returned “ This page is not available for .NET.”
It will be good to document how to do Test configuration in .Net

@michael-freidgeim-webjet
Copy link
Author

michael-freidgeim-webjet commented May 19, 2024

I am not alone, who miss Playwright settings for .NET documentation https://medium.com/@dneprokos/playwright-with-net-what-is-it-useful-bafc85898b5

To be honest, I have not found a complete description of the supported Playwright settings for .NET. And this is something that really bothers me. Maybe there is a luck of documentation or maybe the .NET version of Playwright has limited support of config (compare to Node.js)

https://stackoverflow.com/questions/68169501/how-do-you-create-a-global-configuration-for-playwright-net

.

@mxschmitt
Copy link
Member

Switching from the Node.js documentation to the .NET documentation is not always supported, since the doc structure is different. We recommend switching once and then following the guides on the left side along.

Playwright for Node.js is significant different, since it provides a test-runner while in .NET, we mostly provide a library with NUnit and MSTest integrations. So there is a dedicated chunk of documentation in Node.js, like in your case the test-configuration page, which is not needed in .NET.

We just released an update to the .NET docs which should make it more clear, does this help you?

@michael-freidgeim-webjet
Copy link
Author

@mxschmitt Thanks for the links to. .Net documentation.
I’ve posted a question on stackoverflow How to set values in Playwright BrowserContext options from config file?
Please consider it as a feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants