-
Notifications
You must be signed in to change notification settings - Fork 10k
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
Playwright 🎭 🛠️ #45682
Playwright 🎭 🛠️ #45682
Conversation
src/ProjectTemplates/test/Templates.Blazor.Tests/BlazorWasmTemplateTest.cs
Outdated
Show resolved
Hide resolved
@@ -697,7 +697,7 @@ stages: | |||
# Just uploading artifacts/logs/ files can take 15 minutes. Doubling the cancel timeout for this job. | |||
cancelTimeoutInMinutes: 30 | |||
buildArgs: -all -pack -test -binaryLog /p:SkipHelixReadyTests=true /p:SkipIISNewHandlerTests=true /p:SkipIISTests=true | |||
/p:SkipIISExpressTests=true /p:SkipIISNewShimTests=true /p:RunTemplateTests=false | |||
/p:SkipIISExpressTests=true /p:SkipIISNewShimTests=true /p:RunTemplateTests=false /p:RunBlazorPlaywrightTemplateTests=true |
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.
Will setting this new variable (RunBlazorPlaywrightTemplateTests) to false
result in the current behavior (as if we don't have this change in place)?
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.
It's fine to just omit RunBlazorPlaywrightTemplateTests
in that case as it'll default to using the value of RunTemplateTests
, but yes setting it to false
would work as well.
aspnetcore/src/ProjectTemplates/test/Templates.Blazor.Tests/Templates.Blazor.Tests.csproj
Lines 10 to 11 in 20ebf88
<RunBlazorPlaywrightTemplateTests Condition="'$(RunBlazorPlaywrightTemplateTests)' == ''">$(RunTemplateTests)</RunBlazorPlaywrightTemplateTests> | |
<SkipTests Condition="'$(RunBlazorPlaywrightTemplateTests)' != 'true'">true</SkipTests> |
@@ -107,7 +107,7 @@ private static async Task AssertCompressionFormat(AspNetProcess aspNetProcess, s | |||
Assert.Equal(expectedEncoding, response.Content.Headers.ContentEncoding.Single()); | |||
} | |||
|
|||
[Theory(Skip = "https://github.com/dotnet/aspnetcore/issues/30882")] | |||
[Theory(Skip = "https://github.com/dotnet/aspnetcore/issues/45736")] |
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.
The issue here was blocked on a Playwright issue, which they have resolved with the following comment:
Does that impact our decisions regarding this in any way?
I assume you're trying to wrap up your work already, and leaving this to be handled as part of the work on the linked issue is the right thing to do. So mostly wanted to note the progress on the dependency.
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.
Going to try un-skipping this
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.
Nope, still failing
Looks like this PR hasn't been active for some time and the codebase could have been changed in the meantime. |
The problem is that the |
/azp run |
Commenter does not have sufficient privileges for PR 45682 in repo dotnet/aspnetcore |
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.
LGTM
Enable Playwright Tests
Fixes: #30761
Fixes: #30882