chore(UX-144): Integrate color tokens #522
Triggered via pull request
September 2, 2024 16:08
thelukewalton
synchronize
#165
Status
Failure
Total duration
2m 36s
Artifacts
–
pull-request.yml
on: pull_request_target
Deploy preview version of the storybook on firebase
0s
Annotations
1 error
code-quality
⛔️ - Static analysis failed; 2 issues found.</br>
<details><summary>See details</summary>
<table>
<tr><th></th><th>Type</th><th>File name</th><th>Details</th></tr><tr><td>ℹ️</td><td>Error</td><td>lib/src/theme/color_extensions.dart:333:19</td><td>info</td></tr><tr><td>ℹ️</td><td>Error</td><td>lib/src/utils/zeta_provider.dart:318:7</td><td>info</td></tr></table></details>
; ⛔️ - 58 tests failed</br >
<details><summary>See details</summary>
<details><summary>src/zeta_test.dart</br></summary>`package:flutter_tools/src/base/common.dart 10:3 throwToolExit<br>package:flutter_tools/src/compile.dart 897:9 DefaultResidentCompiler._compile.<fn><br>dart:async/zone.dart 1407:47 _rootRunUnary<br>dart:async/zone.dart 1308:19 _CustomZone.runUnary<br>dart:async/future_impl.dart 861:45 Future._propagateToListeners.handleValueCallback<br>dart:async/future_impl.dart 890:13 Future._propagateToListeners<br>dart:async/future_impl.dart 786:9 Future._propagateToListeners<br>dart:async/future_impl.dart 666:5 Future._completeWithValue<br>dart:async/future_impl.dart 736:7 Future._asyncCompleteWithValue.<fn><br>dart:async/zone.dart 1399:13 _rootRun<br>dart:async/zone.dart 1301:19 _CustomZone.run<br>dart:async/zone.dart 1209:7 _CustomZone.runGuarded<br>dart:async/zone.dart 1249:23 _CustomZone.bindCallbackGuarded.<fn><br>dart:async/schedule_microtask.dart 40:21 _microtaskLoop<br>dart:async/schedule_microtask.dart 49:5 _startMicrotaskLoop<br>dart:isolate-patch/isolate_patch.dart 118:13 _runPendingImmediateCallback<br>dart:isolate-patch/isolate_patch.dart 185:5 _RawReceivePort._handleMessage<br>`</details><details><summary>ZetaChatItem Tests ZetaChatItem displays correctly</br></summary>`══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════<br>The following TestFailure was thrown running a test:<br>Expected: one widget whose rasterized image matches golden image<br>"/home/runner/work/zeta_flutter/zeta_flutter/test/src/components/chat_item/golden/chat_item_default.png"<br> Actual: _TypeWidgetFinder:<Found 1 widget with type "ZetaChatItem": [<br> ZetaChatItem(rounded: null, highlighted: false, time: 2024-09-02 16:10:50.469739,<br>timeFormat: null, enabledWarningIcon: true, enabledNotificationIcon: true, count: 100, has onTap,<br>starred: null, explicitChildNodes: false, paleButtonColors: true, dependencies: [Zeta]),<br> ]><br> Which: does not match<br><br>When the exception was thrown, this was the stack:<br>#0 fail (package:matcher/src/expect/expect.dart:149:31)<br>#1 _expect.<anonymous closure> (package:matcher/src/expect/expect.dart:125:9)<br><asynchronous suspension><br><asynchronous suspension><br>#8 expectLater.<anonymous closure> (package:flutter_test/src/widget_tester.dart:518:24)<br><asynchronous suspension><br>#9 main.<anonymous closure>.<anonymous closure> (file:///home/runner/work/zeta_flutter/zeta_flutter/test/src/components/chat_item/chat_item_test.dart:79:7)<br><asynchronous suspension><br>#10 testWidgets.<anonymous closure>.<anonymous closure> (package:flutter_test/src/widget_tester.dart:189:15)<br><asynchronous suspension><br>#11 TestWidgetsFlutterBinding._runTestBody (package:flutter_test/src/binding.dart:1032:5)<br><asynchronous suspension><br><asynchronous suspension><br>(elided 7 frames from dart:async and package:stack_trace)<br><br>The test description was:<br> ZetaChatItem displays correctly<br>════════════════════════════════════════════════════════════════════════════════════════════════════`</details><details><summary>ZetaChatItem highlighted</br></summary>`══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════<br>The following TestFailure was thrown running a test:<br>Expected: one widget whose rasterized i
|