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

Fix functional tests #16980

Merged
merged 1 commit into from
Nov 9, 2024
Merged

Fix functional tests #16980

merged 1 commit into from
Nov 9, 2024

Conversation

sebastienros
Copy link
Member

Saw some exceptions in the functional tests logs. Since these are from event handlers they were not interfering with the page rendering and hence not triggering a test failure. We may want to check if the logs contain and exception to trigger function test failures.

Copy link
Member

@Piedone Piedone left a comment

Choose a reason for hiding this comment

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

#11194 checks logs as well BTW.

Comment on lines +21 to +24
if (!alternateElement.AsSpan().ContainsAny(AlternateChars))
{
return alternateElement;
}
Copy link
Member

Choose a reason for hiding this comment

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

How does this fix an exception? Or is this condition just for perf?

Copy link
Member Author

Choose a reason for hiding this comment

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

Right, it's unrelated, just trying to squeeze some perf. Also an opportunity to raise awareness about SeachValues.

Copy link
Member

Choose a reason for hiding this comment

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

Yeah, that's good, TIL.

@Piedone Piedone merged commit 1c6c724 into main Nov 9, 2024
27 checks passed
@Piedone Piedone deleted the sebros/functests branch November 9, 2024 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants