Skip to content

testing PR action DO NOT MERGE #711

testing PR action DO NOT MERGE

testing PR action DO NOT MERGE #711

Triggered via pull request December 13, 2024 15:31
@DE7924DE7924
opened #224
Status Failure
Total duration 4m 29s
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/buttons/button.dart:231:17</td><td>info</td></tr></table></details> ; ⛔️ - 9 tests failed</br > <details><summary>See details</summary> <details><summary>Golden Tests navigation_bar_action 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_action.png"<br> Actual: _TypeWidgetFinder:<Found 1 widget with type "ZetaNavigationBar": [<br> ZetaNavigationBar(rounded: null, items: [Instance of 'ZetaNavigationBarItem', Instance<br>of 'ZetaNavigationBarItem', Instance of 'ZetaNavigationBarItem', Instance of<br>'ZetaNavigationBarItem'], currentIndex: null, splitItems: false, dividerIndex: null, semanticLabel:<br>null, shrinkItems: false, useSafeArea: 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 goldenTest.<anonymous closure> (file:///home/runner/work/zeta_flutter/zeta_flutter/test/test_utils/utils.dart:65: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: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> navigation_bar_action golden<br>════════════════════════════════════════════════════════════════════════════════════════════════════`</details><details><summary>Content Tests Initializes with correct Label</br></summary>`══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════<br>The following TestFailure was thrown running a test:<br>Expected: exactly one matching candidate<br> Actual: _TextWidgetFinder:<Found 0 widgets with text "Test Button": []><br> Which: means none were found but one was expected<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/button/button_test.dart:43: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/button/button_test.dart line 43<br>The test description was:<br> Initializes with correct Label<br>════════════════════════════════════════════════════════════════════════════════════════════════════`</details><details><summary>Golden Tests button_primary 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
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