Skip to content

Commit

Permalink
UITest: MessageBox remove property which is already inherited
Browse files Browse the repository at this point in the history
  • Loading branch information
jbe2277 committed Jul 3, 2024
1 parent fd2773b commit 58bb228
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Samples.UITest/UITest.Core/SystemViews/MessageBox.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ namespace UITest.SystemViews;

public class MessageBox(FrameworkAutomationElementBase element) : Window(element)
{
public string Title => Name;

public string Message => this.Find(x => x.ByControlType(ControlType.Text)).Name;

public Button[] Buttons => this.FindAll(x => x.ByControlType(ControlType.Button)).Select(x => x.AsButton()).ToArray();
Expand Down

0 comments on commit 58bb228

Please sign in to comment.