You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+11-5Lines changed: 11 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ Big shout out to **bUnit's sponsors** who helped make this release happen.
29
29
30
30
List of added functionality in this release.
31
31
32
-
-Added support for writing tests of components that use the `<FocusOnNavigate>` component included in .NET 6. This includes an assertion helper method `VerifyFocusOnNavigateInvoke` on bUnit's `JSInterop` that allow you to verify that `<FocusOnNavigate>` has set focus on an element during render. For example, to verify that `h1` selector was used to pick an element to focus on, do:
32
+
- Added support for writing tests of components that use the `<FocusOnNavigate>` component included in .NET 6. This includes an assertion helper method `VerifyFocusOnNavigateInvoke` on bUnit's `JSInterop` that allow you to verify that `<FocusOnNavigate>` has set focus on an element during render. For example, to verify that `h1` selector was used to pick an element to focus on, do:
33
33
34
34
```csharp
35
35
// <App /> component uses <FocusOnNavigate>
@@ -44,13 +44,19 @@ List of added functionality in this release.
44
44
45
45
By [@egil](https://github.com/egil).
46
46
47
-
-Addedfakeversionofthe `PersistentComponentState` typeinBlazorthatmakesitpossibletotestcomponentsthatusethetype. By [@egil](https://github.com/egil).
47
+
-Addedfakeversionofthe `PersistentComponentState` typeinBlazorthatmakesitpossibletotestcomponentsthatusethetype. By [@egil](https://github.com/egil).
48
48
49
-
-Added `TriggerEvent` methodtomakeiteasiertotriggercustomevents. By [@egil](https://github.com/egil).
49
+
-Added `TriggerEvent` methodtomakeiteasiertotriggercustomevents. By [@egil](https://github.com/egil).
50
50
51
-
-Added `History` captureinthe `FakeNavigationManager`. By [@egil](https://github.com/egil).
51
+
-Added `History` captureinthe `FakeNavigationManager`. By [@egil](https://github.com/egil).
- Added `WaitForElement` and `WaitForElements` methods. ThesemakesitpossibletowaitforoneormoreelementstoappearintheDOMbeforecontinuingatest, similartohow `WaitForAssertion` allowsyoutowaitforanassertiontopass, or `WaitForState` allowsyoutowaitforapredicatetopass. By [@egil](https://github.com/egil).
56
+
57
+
### Changed
58
+
59
+
-Addedautomaticconversionofvalues (types) passedto `Change()` and `Input()` eventtriggermethods. Thismeansthate.g. a `DateTime` passedto `Change()` isautomaticallyconvertedtoastringformatthatBlazorexpects. By [@egil](https://github.com/egil).
0 commit comments