File tree Expand file tree Collapse file tree 6 files changed +23
-11
lines changed
apps/sandbox/lib/widgets/benefit Expand file tree Collapse file tree 6 files changed +23
-11
lines changed Original file line number Diff line number Diff line change 42
42
/dev /integration_tests /** /xcuserdata
43
43
/dev /integration_tests /** /Pods
44
44
/packages /flutter /coverage /
45
+ /test /** /failures /
45
46
version
46
47
analysis_benchmark.json
47
48
pubspec_overrides.yaml
@@ -139,4 +140,8 @@ app.*.symbols
139
140
! .vscode /settings.json
140
141
141
142
allure-report /
142
- allure-results /
143
+ allure-results /
144
+
145
+ # Package specific
146
+ ** /reports /
147
+ ** /test /** /failures /
Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ class FrostBenefit extends StatelessWidget {
9
9
Widget build (BuildContext context) {
10
10
return BenefitContainer (
11
11
icon: const BenefitIcon (icon: Icon (Icons .bolt)),
12
- title: 'Заморозку ' ,
13
- subtitle: 'Теперь не страшно пропустить занятие ' ,
12
+ title: '+2 frost ' ,
13
+ subtitle: 'Dont be afraid to skip lesson ' ,
14
14
color: Theme .of (context).colorScheme.surface,
15
15
);
16
16
}
Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ class RatingBenefit extends StatelessWidget {
9
9
Widget build (BuildContext context) {
10
10
return BenefitContainer (
11
11
icon: const BenefitIcon (icon: Icon (Icons .alternate_email_rounded)),
12
- title: '+1 балл к рейтингу ' ,
13
- subtitle: 'Будут все шансы стать фаворитом недели ' ,
12
+ title: '+1 score to rating ' ,
13
+ subtitle: 'Will have every chance to be the favorite of the week ' ,
14
14
color: Theme .of (context).colorScheme.surface,
15
15
);
16
16
}
Original file line number Diff line number Diff line change
1
+ ## 1.2.5
2
+
3
+ - ** fix:** handle flutter golden assertions
4
+
1
5
## 1.2.4
2
6
3
7
- ** fix:** handle flutter errors
Original file line number Diff line number Diff line change @@ -305,11 +305,14 @@ class AllureReporter implements TestReporter {
305
305
306
306
/// Flutter errors are pushed to console and require additional processing.
307
307
void handleFlutterError (TestMessageEvent event) {
308
- if (event.message.contains ('EXCEPTION CAUGHT' )) {
309
- final parts = event.message
310
- .split ('When the exception was thrown, this was the stack:' );
308
+ final message = event.message;
309
+ if (message.contains ('EXCEPTION CAUGHT' )) {
310
+ final parts =
311
+ message.split ('When the exception was thrown, this was the stack:' );
312
+
313
+ final isTestFailure = message.contains ('following TestFailure was' ) || //
314
+ message.contains ('Pixel test failed' );
311
315
312
- final isTestFailure = event.message.contains ('following TestFailure was' );
313
316
final String details;
314
317
final String stackTrace;
315
318
@@ -324,7 +327,7 @@ class AllureReporter implements TestReporter {
324
327
325
328
stackTrace = parts[1 ].replaceAll (RegExp (r'\n═+$' ), '' );
326
329
} else {
327
- details = event. message;
330
+ details = message;
328
331
stackTrace = '' ;
329
332
}
330
333
Original file line number Diff line number Diff line change 1
1
name : allure_report
2
2
description : Allure Report Adapter. Use it with [test_reporter](https://pub.dev/packages/test_reporter) package
3
- version : 1.2.4
3
+ version : 1.2.5
4
4
repository : https://github.com/rIIh/dart_test_reporter
5
5
issue_tracker : https://github.com/rIIh/dart_test_reporter/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+%5Ballure_report%5D
6
6
You can’t perform that action at this time.
0 commit comments