Skip to content

Commit 1969e88

Browse files
committed
Prepare release 0.15.0
1 parent d8648f4 commit 1969e88

2 files changed

Lines changed: 17 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# Changelog
22

3+
## 0.15.0
4+
- Add `loadAppFonts()` to display your app fonts on screenshots #66
5+
- Add `loadFont()` to load a fonts from a file. Useful when your app depends on preinstalled system fonts (`loadFont('Comic Sans', [r'C:\Windows\Fonts\comic.ttf'])`) #66
6+
- New direct access to properties from `WidgetSelector` #71
7+
- `spot<MyWidget>().getWidgetProp(widgetProp('color', (widget) => widget.color));`
8+
- `spot<_MyContainer>().getStateProp(stateProp<String, _MyContainerState>('innerValue', (s) => s.innerValue));`
9+
- `spot<_MyContainer>().getRenderObjectProp(renderObjectProp<Size, RenderBox>('size', (r) => r.size));`
10+
- New `getStateProp` and `stateProp` to access state properties #71
11+
`spot<_MyContainer>().existsOnce().getStateProp(stateProp('innerValue', (_MyContainerState s) => s.innerValue));`
12+
- New `timeline` mode `TimelineMode.always` to always print a timeline after each test #68
13+
- Deprecate `TimelineMode.record` in favor of `TimelineMode.reportOnError` (which is the default) #68
14+
- Timeline now shows partial tap warnings #69
15+
- Never show big widget tree dumps in console, only in Timeline HTML report #70
16+
- `act.tap()` now shows a Crosshair on the screenshot
17+
- Fix code samples of `whereWidgetProp()`, `whereElementProp()` and `whereRenderObjectProp()` #67
18+
319
## 0.14.0
420
- New: Timeline! Failing tests now print a timeline with screenshots of all interactions (actions and assertions) as HTML report #57
521
- `act.tap` now checks for multiple tappable position when the center is not tappable for some reason #60

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: spot
22
description: Chainable powerful widget selector API, screenshots and assertions for awesome widget tests.
3-
version: 0.14.0
3+
version: 0.15.0
44
repository: https://github.com/passsy/spot
55
issue_tracker: https://github.com/passsy/spot/issues
66

0 commit comments

Comments
 (0)