Skip to content

Commit

Permalink
- move buttons around
Browse files Browse the repository at this point in the history
  • Loading branch information
PureWeen committed Jun 29, 2024
1 parent ecde764 commit 73a644d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Controls/tests/TestCases.HostApp/Issues/Issue16910.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="Maui.Controls.Sample.Issues.Issue16910">
<ContentPage.Content>
<Grid RowDefinitions="Auto,100,*,Auto" x:Name="grid">
<Grid RowDefinitions="Auto,100,*,50,50" x:Name="grid">
<Label Grid.Row="1" Text="Interact with the RefreshView and make sure the IsRefreshing Label correctly Represents current state." />
<RefreshView x:Name="refreshView" Grid.Row="2" IsRefreshing="{Binding IsRefreshing, Mode=TwoWay}">
<CollectionView ItemsSource="{Binding ItemSource}" AutomationId="CollectionView">
Expand All @@ -15,7 +15,7 @@
</CollectionView>
</RefreshView>
<Button x:Name="StopRefreshing" AutomationId="StopRefreshing" Grid.Row="3" Text="Stop Refresh" Clicked="OnStopRefreshClicked" />
<Button x:Name="StartRefreshing" AutomationId="StartRefreshing" Grid.Row="3" Text="Refresh" Clicked="OnRefreshClicked" />
<Button x:Name="StartRefreshing" AutomationId="StartRefreshing" Grid.Row="4" Text="Refresh" Clicked="OnRefreshClicked" />
</Grid>
</ContentPage.Content>
</ContentPage>
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public void BindingUpdatesFromProgrammaticRefresh()
_ = App.WaitForElement("StartRefreshing");
App.Tap("StartRefreshing");
App.WaitForElement("IsRefreshing");
App.WaitForElement("StopRefreshing");
App.Tap("StopRefreshing");
}

Expand Down

0 comments on commit 73a644d

Please sign in to comment.