File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616 <Copyright />
1717 <PackageTags >blazor blazor-component blazor-context-menu context-menu contextmenu menu blazor-menu blazorcontextmenu razor razor-components razorcomponents</PackageTags >
1818 <VersionSuffix >$(VersionSuffix)</VersionSuffix >
19- <Version >1.14 .0</Version >
19+ <Version >1.15 .0</Version >
2020 <Version Condition =" '$(VersionSuffix)' != '' " >$(Version)-$(VersionSuffix)</Version >
2121 <Product >Blazor.ContextMenu</Product >
2222 </PropertyGroup >
Original file line number Diff line number Diff line change @@ -244,7 +244,12 @@ public class Startup
244244 </details>
245245
246246## Release Notes
247- <details open =" open " ><summary >1.14</summary >
247+ <details open =" open " ><summary >1.15</summary >
248+
249+ > - Add IsMenuShown to BlazorContextMenuService. Contributed by [ Adam Ashton] ( https://github.com/adamashton ) .
250+ </details>
251+
252+ <details ><summary >1.14</summary >
248253
249254> - Fix for [ #121 ] ( https://github.com/stavroskasidis/BlazorContextMenu/issues/121 ) .
250255 </details>
Original file line number Diff line number Diff line change @@ -442,7 +442,7 @@ public void Menu7_InitialState_MenuIsShownReturnsFalse()
442442
443443 //Assert
444444 var menuElement = Browser . FindElement ( By . Id ( "menu7-isShownResult" ) ) ;
445- var display = menuElement . GetAttribute ( "text" ) ;
445+ var display = menuElement . Text ;
446446 Assert . Equal ( expectedDisplay , display ) ;
447447 }
448448
@@ -453,13 +453,13 @@ public async Task Menu7_TriggerMenu_MenuIsShownReturnsTrue()
453453 var expectedDisplay = bool . TrueString ;
454454
455455 //Act
456- await OpenContextMenuAt ( "menu7" , MouseButtonTrigger . Left ) ;
456+ await OpenContextMenuAt ( "menu7-test1-trigger " , MouseButtonTrigger . Left ) ;
457457 var determineIfMenu7IsShownbtn = Browser . FindElement ( By . Id ( "determineIfMenu7IsShownbtn" ) ) ;
458458 determineIfMenu7IsShownbtn . Click ( ) ;
459459
460460 //Assert
461461 var menuElement = Browser . FindElement ( By . Id ( "menu7-isShownResult" ) ) ;
462- var display = menuElement . GetAttribute ( "text" ) ;
462+ var display = menuElement . Text ;
463463 Assert . Equal ( expectedDisplay , display ) ;
464464 }
465465 }
You can’t perform that action at this time.
0 commit comments