-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Upgrade Playwright #38414
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
Upgrade Playwright #38414
Conversation
https://www.nuget.org/packages/playwright-sharp-tool Contributes towards #30882.
Converting to draft. Nuget hasn't been updated in 8 months and it's stuck on 0.192.0 (https://www.nuget.org/packages/playwright-sharp-tool), while the GitHub repo is on 1.16.1 (https://github.com/microsoft/playwright-dotnet/tags). Investigating upgrade. Created: microsoft/playwright-dotnet#1829 Update: The |
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
@TanayParikh FYI: I just looked on the GitHub Repo https://github.com/microsoft/playwright-dotnet and saw that version |
@@ -55,9 +55,6 @@ public bool SetupEnvironment() | |||
var playwrightBrowsers = Environment.GetEnvironmentVariable("PLAYWRIGHT_BROWSERS_PATH"); | |||
Console.WriteLine($"Setting PLAYWRIGHT_BROWSERS_PATH: {playwrightBrowsers}"); | |||
EnvironmentVariables.Add("PLAYWRIGHT_BROWSERS_PATH", playwrightBrowsers); | |||
var playrightDriver = Environment.GetEnvironmentVariable("PLAYWRIGHT_DRIVER_PATH"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't seem to be possible to specify driver path any longer:
src/ProjectTemplates/BlazorTemplates.Tests/BlazorServerTemplateTest.cs
Outdated
Show resolved
Hide resolved
src/ProjectTemplates/BlazorTemplates.Tests/BlazorWasmTemplateTest.cs
Outdated
Show resolved
Hide resolved
/azp run |
Needs a full re-run given #39361. |
Azure Pipelines successfully started running 3 pipeline(s). |
src/ProjectTemplates/BlazorTemplates.Tests/BlazorTemplates.Tests.csproj
Outdated
Show resolved
Hide resolved
Thanks @mxschmitt, that was really helpful! |
This is used within the Blazor Template Tests.
Contributes towards #30882.
Note, the goal of this PR is just to get the underlying Playwright upgraded from the pre-release version, to the latest stable release. The underlying tests are unchanged by this PR.