chore: Rename ZetaBanner to ZetaSystemBanner to match Figma #732
Triggered via pull request
January 9, 2025 20:04
thelukewalton
opened
#235
Status
Failure
Total duration
3m 19s
Artifacts
–
pull-request.yml
on: pull_request_target
Deploy preview version of the widgetbook on firebase
0s
Annotations
1 error and 2 warnings
code-quality
⛔️ - 5 tests failed</br >
<details><summary>See details</summary>
<details><summary>Styling Tests neutral background colour is correct</br></summary>`══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════<br>The following TestFailure was thrown running a test:<br>Expected: Color:<Color(alpha: 1.0000, red: 1.0000, green: 1.0000, blue: 1.0000, colorSpace:<br>ColorSpace.sRGB)><br> Actual: Color:<Color(alpha: 1.0000, red: 0.8784, green: 0.8902, blue: 0.9137, colorSpace:<br>ColorSpace.sRGB)><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/in_page_banner/in_page_banner_test.dart:104: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:1027: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/in_page_banner/in_page_banner_test.dart line 104<br>The test description was:<br> neutral background colour is correct<br>════════════════════════════════════════════════════════════════════════════════════════════════════`</details><details><summary>Golden Tests in_page_banner_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/in_page_banner/golden/in_page_banner_default.png"<br> Actual: _TypeWidgetFinder:<Found 1 widget with type "ZetaInPageBanner": [<br> ZetaInPageBanner(rounded: null, status: info, title: "Title", customIcon: null,<br>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 goldenTest.<anonymous closure> (file:///home/runner/work/zeta_flutter/zeta_flutter/test/test_utils/utils.dart:63:5)<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:1027: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> in_page_banner_default golden<br>════════════════════════════════════════════════════════════════════════════════════════════════════`</details><details><summary>Golden Tests in_page_banner_negative 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/in_page_banner/golden/in_page_banner_negative.png"<br> Actual: _TypeWidgetFinder:<Found 1 widget with type "ZetaInPageBanner": [<br> ZetaInPageBanner(rounded: null, has onClose, status: negative, title: null, customIcon:<br>null, 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/e
|
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
|