{ "cases": 84, "passed": 82, "failures": [ { "sample": "acl-new", "width": 390, "zoom": 2, "actualViewport": { "width": 195, "height": 500, "document": 200, "dpr": 2 }, "title": "ACL grant \u00b7 OtOpcUa", "headings": [ "New ACL grant \u00b7 fixture-cluster" ], "checks": { "oneHeading": true, "noPageOverflow": false, "fieldsNamed": true, "idsUnique": true, "referencesResolve": true, "namedFocusableRegions": true, "reducedMotionFinal": true, "noPageErrors": true, "pageTitle": true }, "unnamedFields": [], "relationships": { "duplicateIds": [], "missingDescriptions": [] }, "regions": [], "pageErrors": [] }, { "sample": "acl-edit", "width": 390, "zoom": 2, "actualViewport": { "width": 195, "height": 500, "document": 200, "dpr": 2 }, "title": "ACL grant \u00b7 OtOpcUa", "headings": [ "Edit ACL grant \u00b7 fixture-cluster" ], "checks": { "oneHeading": true, "noPageOverflow": false, "fieldsNamed": true, "idsUnique": true, "referencesResolve": true, "namedFocusableRegions": true, "reducedMotionFinal": true, "noPageErrors": true, "pageTitle": true }, "unnamedFields": [], "relationships": { "duplicateIds": [], "missingDescriptions": [] }, "regions": [], "pageErrors": [] } ] } Traceback (most recent call last): File "/Users/dohertj2/Desktop/OtOpcUa/infra/tools/ui-consistency/check_final_grammar.py", line 28, in print(json.dumps({'cases':len(results),'passed':sum(all(r['checks'].values()) for r in results),'failures':[r for r in results if not all(r['checks'].values())]},indent=2));assert all(all(r['checks'].values()) for r in results) ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError