Skip to content

Commit de43d32

Browse files
authored
Added missing info to changelog for release 1.3
1 parent 0f33c05 commit de43d32

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

CHANGELOG.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Big shout out to **bUnit's sponsors** who helped make this release happen.
2929

3030
List of added functionality in this release.
3131

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:
3333

3434
```csharp
3535
// <App /> component uses <FocusOnNavigate>
@@ -44,13 +44,19 @@ List of added functionality in this release.
4444

4545
By [@egil](https://github.com/egil).
4646
47-
- Added fake version of the `PersistentComponentState` type in Blazor that makes it possible to test components that use the type. By [@egil](https://github.com/egil).
47+
- Added fake version of the `PersistentComponentState` type in Blazor that makes it possible to test components that use the type. By [@egil](https://github.com/egil).
4848
49-
- Added `TriggerEvent` method to make it easier to trigger custom events. By [@egil](https://github.com/egil).
49+
- Added `TriggerEvent` method to make it easier to trigger custom events. By [@egil](https://github.com/egil).
5050
51-
- Added `History` capture in the `FakeNavigationManager`. By [@egil](https://github.com/egil).
51+
- Added `History` capture in the `FakeNavigationManager`. By [@egil](https://github.com/egil).
5252
53-
- Added new bUnit component mocking library, available via NuGet as `bunit.web.mock`. It is currently in preview and the features/APIs of it will change!
53+
- Added new bUnit component mocking library, available via NuGet as `bunit.web.mock`. It is currently in preview and the features/APIs of it will change!
54+
55+
- Added `WaitForElement` and `WaitForElements` methods. These makes it possible to wait for one or more elements to appear in the DOM before continuing a test, similar to how `WaitForAssertion` allows you to wait for an assertion to pass, or `WaitForState` allows you to wait for a predicate to pass. By [@egil](https://github.com/egil).
56+
57+
### Changed
58+
59+
- Added automatic conversion of values (types) passed to `Change()` and `Input()` event trigger methods. This means that e.g. a `DateTime` passed to `Change()` is automatically converted to a string format that Blazor expects. By [@egil](https://github.com/egil).
5460
5561
### Fixed
5662

0 commit comments

Comments
 (0)