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

Playwright 🎭 🛠️ #45682

Merged
merged 43 commits into from
Feb 14, 2023
Merged

Playwright 🎭 🛠️ #45682

merged 43 commits into from
Feb 14, 2023

Conversation

TanayParikh
Copy link
Contributor

@TanayParikh TanayParikh commented Dec 19, 2022

Enable Playwright Tests

Fixes: #30761
Fixes: #30882

@TanayParikh TanayParikh marked this pull request as ready for review February 1, 2023 21:16
@TanayParikh TanayParikh requested review from a team, dougbu and wtgodbe as code owners February 1, 2023 21:16
@TanayParikh TanayParikh requested a review from a team February 1, 2023 21:18
@@ -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
Copy link
Member

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)?

Copy link
Contributor Author

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.

<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")]
Copy link
Member

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:
image

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.

Copy link
Member

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

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope, still failing

@ghost
Copy link

ghost commented Feb 10, 2023

Looks like this PR hasn't been active for some time and the codebase could have been changed in the meantime.
To make sure no breaking changes are introduced, please remove the pending ci rerun label to kick off a new CI run.

@ghost ghost added the pending-ci-rerun When assigned to a PR indicates that the CI checks should be rerun label Feb 10, 2023
@wtgodbe
Copy link
Member

wtgodbe commented Feb 13, 2023

The problem is that the Microsoft.AspNetCore.Components.WebAssembly package hasn't been built yet at the time the tests run (other packages like Microsoft.AspNetCore.Components.WebAssembly.Server are available). Trying to figure out if that always would have been the case or if something's changed here.

@wtgodbe wtgodbe removed the pending-ci-rerun When assigned to a PR indicates that the CI checks should be rerun label Feb 13, 2023
@ghost
Copy link

ghost commented Feb 13, 2023

/azp run

@azure-pipelines
Copy link

Commenter does not have sufficient privileges for PR 45682 in repo dotnet/aspnetcore

Copy link
Member

@wtgodbe wtgodbe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-blazor Includes: Blazor, Razor Components feature-playwright 🎭 This issue is related to Playwright E2E Project Template Tests feature-templates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Flaky Various Blazor Template timeouts/failures Test Failure: BlazorServerTemplateWorks_NoAuth
5 participants