-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
Changes from 41 commits
5f9b076
ceda987
68a2f8e
31cd474
5d86d72
02461a8
0de963b
c803709
e21e339
c39f272
a75e4b8
89b5876
6ca74c2
ccbb4d4
599363d
3b5e7e3
7c6e078
c3a796a
90da3c8
80232fe
06577b1
2483583
52cf64c
61ae061
9ed27ed
245485b
4b43b23
80250d0
3580dcb
f5e5826
6cfd3ee
bc4f85d
eeeeefe
5a0e3b6
322e093
a0bdfe8
2e06f58
09e9cb2
20ebf88
c2d7a88
a33acf3
f60b141
704a4e1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ public BlazorWasmTemplateTest(ProjectFactoryFixture projectFactory) | |
|
||
public override string ProjectType { get; } = "blazorwasm"; | ||
|
||
[Theory(Skip = "https://github.com/dotnet/aspnetcore/issues/30882")] | ||
[Theory] | ||
[InlineData(BrowserKind.Chromium)] | ||
public async Task BlazorWasmStandaloneTemplate_Works(BrowserKind browserKind) | ||
{ | ||
|
@@ -59,7 +59,7 @@ private static async Task<IPage> NavigateToPage(IBrowserContext browser, string | |
return page; | ||
} | ||
|
||
[Theory(Skip = "https://github.com/dotnet/aspnetcore/issues/30882")] | ||
[Theory(Skip="https://github.com/dotnet/aspnetcore/issues/46430")] | ||
[InlineData(BrowserKind.Chromium)] | ||
public async Task BlazorWasmHostedTemplate_Works(BrowserKind browserKind) | ||
{ | ||
|
@@ -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 commentThe 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? There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 commentThe reason will be displayed to describe this comment to others. Learn more. Nope, still failing |
||
[InlineData(BrowserKind.Chromium)] | ||
public async Task BlazorWasmStandalonePwaTemplate_Works(BrowserKind browserKind) | ||
{ | ||
|
@@ -142,7 +142,7 @@ public async Task BlazorWasmStandalonePwaTemplate_Works(BrowserKind browserKind) | |
} | ||
} | ||
|
||
[Theory(Skip = "https://github.com/dotnet/aspnetcore/issues/30882")] | ||
[Theory(Skip = "https://github.com/dotnet/aspnetcore/issues/45736")] | ||
[InlineData(BrowserKind.Chromium)] | ||
public async Task BlazorWasmHostedPwaTemplate_Works(BrowserKind browserKind) | ||
{ | ||
|
@@ -212,15 +212,15 @@ private static void ValidatePublishedServiceWorker(Project project) | |
Assert.True(serviceWorkerContents.Contains($"/* Manifest version: {serviceWorkerAssetsManifestVersion} */", StringComparison.Ordinal)); | ||
} | ||
|
||
[ConditionalTheory(Skip = "https://github.com/dotnet/aspnetcore/issues/30882")] | ||
[ConditionalTheory(Skip="https://github.com/dotnet/aspnetcore/issues/46430")] | ||
[InlineData(BrowserKind.Chromium)] | ||
// LocalDB doesn't work on non Windows platforms | ||
[OSSkipCondition(OperatingSystems.Linux | OperatingSystems.MacOSX)] | ||
public Task BlazorWasmHostedTemplate_IndividualAuth_Works_WithLocalDB(BrowserKind browserKind) | ||
=> BlazorWasmHostedTemplate_IndividualAuth_Works(browserKind, true); | ||
|
||
// This test depends on BlazorWasmTemplate_CreateBuildPublish_IndividualAuthNoLocalDb running first | ||
[Theory(Skip = "https://github.com/dotnet/aspnetcore/issues/30882")] | ||
[Theory(Skip="https://github.com/dotnet/aspnetcore/issues/46430")] | ||
[InlineData(BrowserKind.Chromium)] | ||
[SkipOnHelix("https://github.com/dotnet/aspnetcore/issues/30825", Queues = "All.OSX")] | ||
public Task BlazorWasmHostedTemplate_IndividualAuth_Works_WithOutLocalDB(BrowserKind browserKind) | ||
|
This file was deleted.
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 ofRunTemplateTests
, but yes setting it tofalse
would work as well.aspnetcore/src/ProjectTemplates/test/Templates.Blazor.Tests/Templates.Blazor.Tests.csproj
Lines 10 to 11 in 20ebf88