File tree Expand file tree Collapse file tree
AudioCuesheetEditor.End2EndTests/Models
AudioCuesheetEditor/Shared Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818
1919namespace AudioCuesheetEditor . End2EndTests . Models
2020{
21- internal partial class AppBar
21+ partial class AppBar
2222 {
2323 [ GeneratedRegex ( "^Open$" ) ]
2424 private static partial Regex OpenRegex ( ) ;
@@ -35,10 +35,7 @@ internal partial class AppBar
3535 internal AppBar ( IPage page )
3636 {
3737 _page = page ;
38- _menuButton = _page . GetByRole ( AriaRole . Toolbar )
39- . GetByRole ( AriaRole . Button )
40- . Filter ( new ( ) { HasTextRegex = new Regex ( "^$" ) } )
41- . Nth ( 3 ) ;
38+ _menuButton = _page . GetByRole ( AriaRole . Button , new ( ) { Name = "More" } ) ;
4239 }
4340
4441 internal async Task OpenSettingsAsync ( )
Original file line number Diff line number Diff line change @@ -62,10 +62,10 @@ along with Foobar. If not, see
6262 <MudMenuItem OnClick =" (args) => SelectedCultureChanged(culture.Name)" Style =" @GetStyle(culture)" >@culture.DisplayName </MudMenuItem >
6363 }
6464 </MudMenu >
65- <MudMenu Icon =" @Icons.Material.Outlined.MoreVert" Color =" Color.Inherit" AnchorOrigin =" Origin.BottomRight" TransformOrigin =" Origin.TopRight" >
65+ <MudMenu Icon =" @Icons.Material.Outlined.MoreVert" Color =" Color.Inherit" AnchorOrigin =" Origin.BottomRight" TransformOrigin =" Origin.TopRight" AriaLabel = " More " >
6666 @if (DisplaySettings )
6767 {
68- <MudMenuItem Icon =" @Icons.Material.Outlined.Settings" OnClick =" SettingsClicked" >@_localizer ["Settings "]</MudMenuItem >
68+ <MudMenuItem Icon =" @Icons.Material.Outlined.Settings" OnClick =" SettingsClicked" aria-label = " @_localizer[ " Settings " ] " >@_localizer ["Settings "]</MudMenuItem >
6969 }
7070 <MudMenuItem Icon =" @Icons.Material.Outlined.HelpOutline" Href =" https://github.com/NeoCoderMatrix86/AudioCuesheetEditor/wiki/Help" Target =" _blank" >@_localizer ["Help"]</MudMenuItem >
7171 <MudMenuItem Icon =" @Icons.Material.Outlined.Info" Href =" about" >@_localizer ["About"]</MudMenuItem >
You can’t perform that action at this time.
0 commit comments