Skip to content

Conversation

@dariatiurina
Copy link
Contributor

Fix test EmbeddingServerAppInsideIframe_WithCompressionEnabled_Fails

Description

This pull request changes the error message check in the test due to changes in the Chromium. This makes test not fail anymore.

Changes:

  • Added new error message control to the test.
  • Removed the [QuarantinedTest] attribute from the test.

Fixes #64305

@dariatiurina dariatiurina self-assigned this Nov 12, 2025
@github-actions github-actions bot added the area-blazor Includes: Blazor, Razor Components label Nov 12, 2025
Copy link
Member

@oroztocil oroztocil left a comment

Choose a reason for hiding this comment

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

🚀

@dariatiurina dariatiurina marked this pull request as ready for review November 12, 2025 11:03
@dariatiurina dariatiurina requested a review from a team as a code owner November 12, 2025 11:03
Copilot AI review requested due to automatic review settings November 12, 2025 11:03
Copilot finished reviewing on behalf of dariatiurina November 12, 2025 11:04
Copy link
Member

@ilonatommy ilonatommy left a comment

Choose a reason for hiding this comment

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

Small update so that we see what did not get matched, without browsing the code.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This pull request fixes a failing test caused by changes in Chromium's error message format for Content Security Policy (CSP) violations. The test now checks for both the old and new error message patterns to ensure compatibility across different Chromium versions.

  • Removed the [QuarantinedTest] attribute to enable the test
  • Updated the assertion logic to support both old and new Chromium CSP error message formats
  • Added a new regex pattern for the updated Chromium error message

…ressionTests.cs

Co-authored-by: Ilona Tomkowicz <32700855+ilonatommy@users.noreply.github.com>
@dariatiurina dariatiurina merged commit c4f8522 into dotnet:main Nov 12, 2025
30 checks passed
@dotnet-policy-service dotnet-policy-service bot added this to the 11.0-preview1 milestone Nov 12, 2025
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Quarantine EmbeddingServerAppInsideIframe_WithCompressionEnabled_Fails

3 participants