Skip to content

Commit

Permalink
try again
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaireDavis committed Jun 13, 2024
1 parent a433e28 commit de7eb80
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 548 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/upload_test_report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
uses: dorny/test-reporter@31a54ee7ebcacc03a09ea97a7e5465a47b84aea5 # v1.9.1
with:
name: Failed to compile test
path: ${{ github.workspace }}/test_result_4.json
path: ${{ github.workspace }}/test_result_3.json
reporter: flutter-json
only-summary: true
token: ${{ github.token }}
Expand Down
8 changes: 4 additions & 4 deletions test_result_3.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{"protocolVersion":"0.1.1","runnerVersion":null,"pid":57983,"type":"start","time":0}
{"suite":{"id":0,"platform":"vm","path":"/Users/clairedavis/src/test_reporter_repro/test/widget_test.dart"},"type":"suite","time":0}
{"test":{"id":1,"name":"loading /Users/clairedavis/src/test_reporter_repro/test/widget_test.dart","suiteID":0,"groupIDs":[],"metadata":{"skip":false,"skipReason":null},"line":null,"column":null,"url":null},"type":"testStart","time":0}
{"count":1,"time":2,"type":"allSuites"}
{"testID":1,"result":"success","skipped":false,"hidden":true,"type":"testDone","time":2368}
{"group":{"id":2,"suiteID":0,"parentID":null,"name":"","metadata":{"skip":false,"skipReason":null},"testCount":1,"line":null,"column":null,"url":null},"type":"group","time":2369}
{"test":{"id":3,"name":"Counter increments smoke test","suiteID":0,"groupIDs":[2],"metadata":{"skip":false,"skipReason":null},"line":165,"column":5,"url":"package:flutter_test/src/widget_tester.dart","root_line":14,"root_column":3,"root_url":"file:///Users/clairedavis/src/test_reporter_repro/test/widget_test.dart"},"type":"testStart","time":2369}
{"testID":3,"messageType":"print","message":"══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════\nThe following TestFailure was thrown running a test:\nExpected: exactly one matching candidate\n Actual: _TextWidgetFinder:<Found 0 widgets with text \"2\": []>\n Which: means none were found but one was expected\n\nWhen the exception was thrown, this was the stack:\n#4 main.<anonymous closure> (file:///Users/clairedavis/src/test_reporter_repro/test/widget_test.dart:28:5)\n<asynchronous suspension>\n#5 testWidgets.<anonymous closure>.<anonymous closure> (package:flutter_test/src/widget_tester.dart:183:15)\n<asynchronous suspension>\n#6 TestWidgetsFlutterBinding._runTestBody (package:flutter_test/src/binding.dart:1017:5)\n<asynchronous suspension>\n<asynchronous suspension>\n(elided one frame from package:stack_trace)\n\nThis was caught by the test expectation on the following line:\n file:///Users/clairedavis/src/test_reporter_repro/test/widget_test.dart line 28\nThe test description was:\n Counter increments smoke test\n════════════════════════════════════════════════════════════════════════════════════════════════════","type":"print","time":2727}
{"testID":3,"error":"Test failed. See exception logs above.\nThe test description was: Counter increments smoke test","stackTrace":"","isFailure":false,"type":"error","time":2729}
{"testID":3,"result":"error","skipped":false,"hidden":false,"type":"testDone","time":2730}
{"suite":{"id":0,"platform":"vm","path":"/Users/clairedavis/src/test_reporter_repro/test/widget_test.dart"},"type":"suite","time":0}
{"test":{"id":1,"name":"loading /Users/clairedavis/src/test_reporter_repro/test/widget_test.dart","suiteID":0,"groupIDs":[],"metadata":{"skip":false,"skipReason":null},"line":null,"column":null,"url":null},"type":"testStart","time":0}
{"count":1,"time":2,"type":"allSuites"}
{"testID":1,"result":"success","skipped":false,"hidden":true,"type":"testDone","time":2368}
{"success":false,"type":"done","time":2744}
Loading

0 comments on commit de7eb80

Please sign in to comment.