Skip to content

Conversation

@ajpinedam
Copy link
Contributor

GitHub Issue: closes #

PR Type:

  • πŸ’¬ Other... (Please describe)

What is the current behavior? πŸ€”

What is the new behavior? πŸš€

PR Checklist βœ…

Please check if your PR fulfills the following requirements:

Other information ℹ️

Copilot AI review requested due to automatic review settings June 16, 2025 20:17
@github-actions github-actions bot added the area/automation Categorizes an issue or PR as relevant to project automation label Jun 16, 2025
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 PR updates the sample tests for WebView controls by enhancing existing functionality and adding new samples to test fixed height and clipping behaviors.

  • Updated the WebView_Title sample with a new URL navigation handler and adjusted the TextBox width.
  • Added two new samples: one to demonstrate a fixed-height WebView2 and another to test clipping with WebView2.
  • Updated project items to include the new sample files.

Reviewed Changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/WebView/WebView_Title.xaml.cs Added OnGoClicked method to handle URL navigation.
src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/WebView/WebView_Title.xaml Increased TextBox width and hooked up the Button Click event.
src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/WebView/WebView2_Fixed_Height.xaml.cs New sample demonstrating a fixed-height WebView2.
src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/WebView/WebView2_Fixed_Height.xaml New sample UI for WebView2 with fixed height.
src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/WebView/WebView2_Clipping.xaml.cs New sample demonstrating clipping with WebView2.
src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/WebView/WebView2_Clipping.xaml New sample UI for WebView2 clipping tests.
src/SamplesApp/UITests.Shared/UITests.Shared.projitems Updated to include the new WebView sample pages.
Comments suppressed due to low confidence (1)

src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/WebView/WebView_Title.xaml.cs:24

  • In a UI event handler for a test sample, throwing an exception on invalid input may interrupt the test flow unexpectedly. Consider handling invalid URLs gracefully, such as by providing user feedback without an exception.
throw new ArgumentException("The provided URL is not valid.", nameof(UriInput));

@unodevops
Copy link
Contributor

πŸ€– Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-20798/wasm-skia-net9/index.html

@unodevops
Copy link
Contributor

πŸ€– Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-20798/docs/index.html

@ajpinedam ajpinedam self-assigned this Jun 16, 2025
@unodevops
Copy link
Contributor

⚠️⚠️ The build 168578 has failed on Uno.UI - CI.

@ajpinedam ajpinedam force-pushed the fix/wasm.skia.webview.clip branch from 1f3271d to 82fd703 Compare June 19, 2025 17:57
@unodevops
Copy link
Contributor

πŸ€– Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-20798/docs/index.html

@unodevops
Copy link
Contributor

πŸ€– Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-20798/wasm-skia-net9/index.html

1 similar comment
@unodevops
Copy link
Contributor

πŸ€– Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-20798/wasm-skia-net9/index.html

@unodevops
Copy link
Contributor

πŸ€– Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-20798/docs/index.html

@unodevops
Copy link
Contributor

⚠️⚠️ The build 168909 has failed on Uno.UI - CI.

@ajpinedam
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@unodevops
Copy link
Contributor

πŸ€– Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-20798/docs/index.html

@unodevops
Copy link
Contributor

πŸ€– Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-20798/wasm-skia-net9/index.html

@unodevops
Copy link
Contributor

⚠️⚠️ The build 168941 has failed on Uno.UI - CI.

@ajpinedam
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@unodevops
Copy link
Contributor

πŸ€– Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-20798/wasm-skia-net9/index.html

@ajpinedam ajpinedam force-pushed the fix/wasm.skia.webview.clip branch from 86e505d to 5abfe4b Compare June 20, 2025 19:05
@unodevops
Copy link
Contributor

πŸ€– Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-20798/wasm-skia-net9/index.html

@unodevops
Copy link
Contributor

πŸ€– Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-20798/docs/index.html

@ajpinedam ajpinedam enabled auto-merge June 20, 2025 23:08
@unodevops
Copy link
Contributor

⚠️⚠️ The build 168996 has failed on Uno.UI - CI.

@ajpinedam
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@unodevops
Copy link
Contributor

πŸ€– Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-20798/wasm-skia-net9/index.html

@unodevops
Copy link
Contributor

πŸ€– Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-20798/docs/index.html

@unodevops
Copy link
Contributor

⚠️⚠️ The build 169033 has failed on Uno.UI - CI.

@ajpinedam
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@unodevops
Copy link
Contributor

πŸ€– Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-20798/wasm-skia-net9/index.html

@unodevops
Copy link
Contributor

πŸ€– Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-20798/docs/index.html

@unodevops
Copy link
Contributor

⚠️⚠️ The build 169056 has failed on Uno.UI - CI.

@ajpinedam ajpinedam force-pushed the fix/wasm.skia.webview.clip branch from 5abfe4b to 6953106 Compare June 23, 2025 20:56
@unodevops
Copy link
Contributor

πŸ€– Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-20798/wasm-skia-net9/index.html

@unodevops
Copy link
Contributor

πŸ€– Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-20798/docs/index.html

@ajpinedam ajpinedam merged commit cbcf7a5 into unoplatform:master Jun 24, 2025
91 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/automation Categorizes an issue or PR as relevant to project automation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants