Skip to content

chore(UX-144): Integrate color tokens #713

chore(UX-144): Integrate color tokens

chore(UX-144): Integrate color tokens #713

Triggered via pull request December 18, 2024 16:57
@thelukewaltonthelukewalton
synchronize #165
Status Failure
Total duration 3m 25s
Artifacts

pull-request.yml

on: pull_request_target
Deploy preview version of the widgetbook on firebase
0s
Deploy preview version of the widgetbook on firebase
Fit to window
Zoom out
Zoom in

Annotations

1 error and 2 warnings
code-quality
⛔️ - Static analysis failed; 1 issue 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/components/dialog/dialog.dart:109:9</td><td>info</td></tr></table></details> ; ⛔️ - 38 tests failed</br > <details><summary>See details</summary> <details><summary>Accessibility Tests meets accessibility requirements with action</br></summary>`══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════<br>The following TestFailure was thrown running a test:<br>Expected: Text contrast should follow WCAG guidelines<br> Actual: <Instance of 'WidgetTester'><br> Which: SemanticsNode#10(Rect.fromLTRB(663.4, 8.5, 784.0, 56.5), flags: [isButton,<br>hasEnabledState, isEnabled], label: "Button", textDirection: ltr):<br> Expected contrast ratio of at least 4.5 but found 4.22 for a font size of 16.0.<br> The computed colors was:<br> light - Color(0xfff3f6fa), dark - Color(0xff0073e6)<br> See also: https://www.w3.org/TR/UNDERSTANDING-WCAG20/visual-audio-contrast-contrast.html<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/navigation_bar/navigation_bar_test.dart:69: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> meets accessibility requirements with action<br>════════════════════════════════════════════════════════════════════════════════════════════════════`</details><details><summary>Styling Tests renders the correct background color</br></summary>`══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════<br>The following TestFailure was thrown running a test:<br>Expected: Color:<Color(0xff0073e6)><br> Actual: Color:<Color(0xffffffff)><br><br>When the exception was thrown, this was the stack:<br>#4 main.<anonymous closure>.<anonymous closure> (file:///home/runner/work/zeta_flutter/zeta_flutter/test/src/components/navigation_bar/navigation_bar_test.dart:329:7)<br><asynchronous suspension><br>#5 testWidgets.<anonymous closure>.<anonymous closure> (package:flutter_test/src/widget_tester.dart:189:15)<br><asynchronous suspension><br>#6 TestWidgetsFlutterBinding._runTestBody (package:flutter_test/src/binding.dart:1032:5)<br><asynchronous suspension><br><asynchronous suspension><br>(elided one frame from package:stack_trace)<br><br>This was caught by the test expectation on the following line:<br> file:///home/runner/work/zeta_flutter/zeta_flutter/test/src/components/navigation_bar/navigation_bar_test.dart line 329<br>The test description was:<br> renders the correct background color<br>════════════════════════════════════════════════════════════════════════════════════════════════════`</details><details><summary>Golden Tests navigation_bar_default golden</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>"file:///home/runner/work/zeta_flutter/zeta_flutter/test/src/components/navigation_bar/golden/navigation_bar_defaul
check-secret
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
code-quality
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636