maui icon indicating copy to clipboard operation
maui copied to clipboard

[Testing] Feature matrix UITest Cases for Image Control

Open NafeelaNazhir opened this issue 6 months ago • 12 comments

This PR includes a comprehensive set of UI test cases for the Image control. The tests validate the Image control, including properties such as Aspect, Source, IsAnimation, IsOpaque, FontImageSource Size, FontImageSource Color, Shadow, FLowDirection, IsVisible.

Image Control Implementation

  • Created a new ImageControlPage and its corresponding XAML file (ImageControlPage.xaml) to serve as the main feature matrix page for the Image control. The page includes an Image element bound to a view model and a toolbar for navigation. [1] [2]
  • Added an ImageOptionsPage and its XAML file (ImageOptionsPage.xaml) to allow users to configure various properties of the Image control, such as Aspect, IsAnimationPlaying, IsOpaque, Source, and more. [1] [2]
  • Introduced the ImageViewModel to manage the state of the Image control, including properties like Aspect, IsAnimationPlaying, IsOpaque, Source, FlowDirection, and IsVisible. The view model is used for data binding in both the main page and the options page. [1] [2]

Issues Identified

  • https://github.com/dotnet/maui/issues/29812
  • https://github.com/dotnet/maui/issues/29813

https://github.com/user-attachments/assets/227c97da-2ce2-4210-863e-203c6acfa691

NafeelaNazhir avatar Jun 05 '25 04:06 NafeelaNazhir

Hey there @@NafeelaNazhir! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed.

/azp run MAUI-UITests-public

jsuarezruiz avatar Jun 05 '25 05:06 jsuarezruiz

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Jun 05 '25 05:06 azure-pipelines[bot]

Pending test snapshots, already available in the latest build. image could you commit the images?

Hi @jsuarezruiz I have added the pending snapshots in the latest commit.

NafeelaNazhir avatar Jun 05 '25 09:06 NafeelaNazhir

@NafeelaNazhir Could you review the current conflict? Thanks in advance.

jsuarezruiz avatar Jun 06 '25 05:06 jsuarezruiz

@NafeelaNazhir Could you review the current conflict? Thanks in advance.

@jsuarezruiz I have rebased the branch and resolved the merge conflicts.

NafeelaNazhir avatar Jun 09 '25 05:06 NafeelaNazhir

/azp run MAUI-UITests-public

jsuarezruiz avatar Jun 09 '25 05:06 jsuarezruiz

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Jun 09 '25 05:06 azure-pipelines[bot]

/azp run MAUI-UITests-public

jsuarezruiz avatar Jun 13 '25 11:06 jsuarezruiz

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Jun 13 '25 11:06 azure-pipelines[bot]

/azp run MAUI-UITests-public

jsuarezruiz avatar Jun 16 '25 12:06 jsuarezruiz

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Jun 16 '25 12:06 azure-pipelines[bot]