Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@
x:DataType="local:EntryViewModel"
x:Class="Maui.Controls.Sample.EntryControlMainPage">
<VerticalStackLayout Padding="20"
Spacing="8">
Spacing="8">
<Label Text="Entry Control"
FontSize="20" Margin="0,0,0,50"
FontSize="20"
Margin="0,0,0,50"
HorizontalOptions="Center"/>

<local:UITestEntry x:Name="EntryControl"
IsCursorVisible="False"
<local:UITestEntry x:Name="EntryControl"
IsCursorVisible="False"
Text="{Binding Text}"
Placeholder="{Binding Placeholder}"
PlaceholderColor="{Binding PlaceholderColor}"
Expand Down Expand Up @@ -47,7 +48,13 @@

<Grid HeightRequest="130"/>

<Grid ColumnSpacing="10" Margin="0,10,0,10">
<Button Text="Options"
FontSize="11"
Clicked="NavigateToOptionsPage_Clicked"
AutomationId="OptionsButton"/>
Copy link

Copilot AI Jul 25, 2025

Choose a reason for hiding this comment

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

The new AutomationId "OptionsButton" differs from the test expectation of "Options". The test in EntryFeatureTests.cs expects AutomationId="Options" but this button uses "OptionsButton", which will cause test failures.

Copilot uses AI. Check for mistakes.

<Grid ColumnSpacing="10"
Margin="0,10,0,10">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
Expand All @@ -56,38 +63,38 @@
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>

<!-- Row 1: Labels -->
<Label Text="Selection Length:"
FontSize="11"
Grid.Row="0"
Grid.Column="0"/>
<Label Text="Selection Length:"
FontSize="11"
Grid.Row="0"
Grid.Column="0"/>
<Label Text="Cursor position:"
FontSize="11"
Grid.Row="0"
Grid.Column="1"/>
FontSize="11"
Grid.Row="0"
Grid.Column="1"/>

<!-- Row 2: Entries -->
<local:UITestEntry x:Name="SelectionLengthEntry"
Text="{Binding SelectionLength}"
AutomationId="SelectionLengthEntry"
IsCursorVisible="False"
TextChanged="SelectionLength_Clicked"
Grid.Row="1"
Grid.Column="0"/>
Text="{Binding SelectionLength}"
AutomationId="SelectionLengthEntry"
IsCursorVisible="False"
TextChanged="SelectionLength_Clicked"
Grid.Row="1"
Grid.Column="0"/>
<local:UITestEntry x:Name="CursorPositionEntry"
Text="{Binding CursorPosition}"
AutomationId="CursorPositionEntry"
IsCursorVisible="False"
Grid.Row="1"
Grid.Column="1"/>
Text="{Binding CursorPosition}"
AutomationId="CursorPositionEntry"
IsCursorVisible="False"
Grid.Row="1"
Grid.Column="1"/>
</Grid>

<Button Text="Update Cursor Selection"
FontSize="11"
Clicked="OnUpdateCursorAndSelectionClicked"
AutomationId="UpdateCursorAndSelectionButton"/>

<Label Text="Events:"
FontSize="11"/>
<Label x:Name="TextChangedLabel"
Expand All @@ -107,9 +114,4 @@
AutomationId="UnfocusedLabel"
FontSize="11"/>
</VerticalStackLayout>

<ContentPage.ToolbarItems>
<ToolbarItem Text="Options"
Clicked="NavigateToOptionsPage_Clicked"></ToolbarItem>
</ContentPage.ToolbarItems>
</ContentPage>
Loading
Loading