fix(admin-ui): close measured cluster field and narrow layout gaps
This commit is contained in:
@@ -0,0 +1,729 @@
|
||||
{
|
||||
"cases": 72,
|
||||
"passed": 54,
|
||||
"failures": [
|
||||
{
|
||||
"sample": "certificates",
|
||||
"width": 390,
|
||||
"zoom": 1,
|
||||
"actualViewport": {
|
||||
"width": 390,
|
||||
"height": 1000,
|
||||
"document": 486,
|
||||
"dpr": 1
|
||||
},
|
||||
"title": "OPC UA certificates \u00b7 OtOpcUa",
|
||||
"headings": [
|
||||
"OPC UA certificates"
|
||||
],
|
||||
"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": "certificates",
|
||||
"width": 390,
|
||||
"zoom": 2,
|
||||
"actualViewport": {
|
||||
"width": 195,
|
||||
"height": 500,
|
||||
"document": 486,
|
||||
"dpr": 2
|
||||
},
|
||||
"title": "OPC UA certificates \u00b7 OtOpcUa",
|
||||
"headings": [
|
||||
"OPC UA certificates"
|
||||
],
|
||||
"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": "role-grants",
|
||||
"width": 1440,
|
||||
"zoom": 1,
|
||||
"actualViewport": {
|
||||
"width": 1440,
|
||||
"height": 1000,
|
||||
"document": 1440,
|
||||
"dpr": 1
|
||||
},
|
||||
"title": "Role grants \u00b7 OtOpcUa",
|
||||
"headings": [
|
||||
"Role grants"
|
||||
],
|
||||
"checks": {
|
||||
"oneHeading": true,
|
||||
"noPageOverflow": true,
|
||||
"fieldsNamed": false,
|
||||
"idsUnique": true,
|
||||
"referencesResolve": true,
|
||||
"namedFocusableRegions": true,
|
||||
"reducedMotionFinal": true,
|
||||
"noPageErrors": true,
|
||||
"pageTitle": true
|
||||
},
|
||||
"unnamedFields": [
|
||||
{
|
||||
"role": "combobox",
|
||||
"node": 9
|
||||
}
|
||||
],
|
||||
"relationships": {
|
||||
"duplicateIds": [],
|
||||
"missingDescriptions": []
|
||||
},
|
||||
"regions": [
|
||||
{
|
||||
"name": "Database role grants",
|
||||
"focused": true,
|
||||
"width": 1178,
|
||||
"scroll": 1178
|
||||
}
|
||||
],
|
||||
"pageErrors": []
|
||||
},
|
||||
{
|
||||
"sample": "role-grants",
|
||||
"width": 390,
|
||||
"zoom": 1,
|
||||
"actualViewport": {
|
||||
"width": 390,
|
||||
"height": 1000,
|
||||
"document": 390,
|
||||
"dpr": 1
|
||||
},
|
||||
"title": "Role grants \u00b7 OtOpcUa",
|
||||
"headings": [
|
||||
"Role grants"
|
||||
],
|
||||
"checks": {
|
||||
"oneHeading": true,
|
||||
"noPageOverflow": true,
|
||||
"fieldsNamed": false,
|
||||
"idsUnique": true,
|
||||
"referencesResolve": true,
|
||||
"namedFocusableRegions": true,
|
||||
"reducedMotionFinal": true,
|
||||
"noPageErrors": true,
|
||||
"pageTitle": true
|
||||
},
|
||||
"unnamedFields": [
|
||||
{
|
||||
"role": "combobox",
|
||||
"node": 9
|
||||
}
|
||||
],
|
||||
"relationships": {
|
||||
"duplicateIds": [],
|
||||
"missingDescriptions": []
|
||||
},
|
||||
"regions": [
|
||||
{
|
||||
"name": "Database role grants",
|
||||
"focused": true,
|
||||
"width": 348,
|
||||
"scroll": 516
|
||||
}
|
||||
],
|
||||
"pageErrors": []
|
||||
},
|
||||
{
|
||||
"sample": "role-grants",
|
||||
"width": 1440,
|
||||
"zoom": 2,
|
||||
"actualViewport": {
|
||||
"width": 720,
|
||||
"height": 500,
|
||||
"document": 720,
|
||||
"dpr": 2
|
||||
},
|
||||
"title": "Role grants \u00b7 OtOpcUa",
|
||||
"headings": [
|
||||
"Role grants"
|
||||
],
|
||||
"checks": {
|
||||
"oneHeading": true,
|
||||
"noPageOverflow": true,
|
||||
"fieldsNamed": false,
|
||||
"idsUnique": true,
|
||||
"referencesResolve": true,
|
||||
"namedFocusableRegions": true,
|
||||
"reducedMotionFinal": true,
|
||||
"noPageErrors": true,
|
||||
"pageTitle": true
|
||||
},
|
||||
"unnamedFields": [
|
||||
{
|
||||
"role": "combobox",
|
||||
"node": 24
|
||||
}
|
||||
],
|
||||
"relationships": {
|
||||
"duplicateIds": [],
|
||||
"missingDescriptions": []
|
||||
},
|
||||
"regions": [
|
||||
{
|
||||
"name": "Database role grants",
|
||||
"focused": true,
|
||||
"width": 678,
|
||||
"scroll": 678
|
||||
}
|
||||
],
|
||||
"pageErrors": []
|
||||
},
|
||||
{
|
||||
"sample": "role-grants",
|
||||
"width": 390,
|
||||
"zoom": 2,
|
||||
"actualViewport": {
|
||||
"width": 195,
|
||||
"height": 500,
|
||||
"document": 226,
|
||||
"dpr": 2
|
||||
},
|
||||
"title": "Role grants \u00b7 OtOpcUa",
|
||||
"headings": [
|
||||
"Role grants"
|
||||
],
|
||||
"checks": {
|
||||
"oneHeading": true,
|
||||
"noPageOverflow": false,
|
||||
"fieldsNamed": false,
|
||||
"idsUnique": true,
|
||||
"referencesResolve": true,
|
||||
"namedFocusableRegions": true,
|
||||
"reducedMotionFinal": true,
|
||||
"noPageErrors": true,
|
||||
"pageTitle": true
|
||||
},
|
||||
"unnamedFields": [
|
||||
{
|
||||
"role": "combobox",
|
||||
"node": 9
|
||||
}
|
||||
],
|
||||
"relationships": {
|
||||
"duplicateIds": [],
|
||||
"missingDescriptions": []
|
||||
},
|
||||
"regions": [
|
||||
{
|
||||
"name": "Database role grants",
|
||||
"focused": true,
|
||||
"width": 153,
|
||||
"scroll": 516
|
||||
}
|
||||
],
|
||||
"pageErrors": []
|
||||
},
|
||||
{
|
||||
"sample": "cluster-edit",
|
||||
"width": 1440,
|
||||
"zoom": 1,
|
||||
"actualViewport": {
|
||||
"width": 1440,
|
||||
"height": 1000,
|
||||
"document": 1440,
|
||||
"dpr": 1
|
||||
},
|
||||
"title": "Edit cluster \u00b7 OtOpcUa",
|
||||
"headings": [
|
||||
"Edit cluster \u00b7 fixture-cluster"
|
||||
],
|
||||
"checks": {
|
||||
"oneHeading": true,
|
||||
"noPageOverflow": true,
|
||||
"fieldsNamed": false,
|
||||
"idsUnique": true,
|
||||
"referencesResolve": true,
|
||||
"namedFocusableRegions": true,
|
||||
"reducedMotionFinal": true,
|
||||
"noPageErrors": true,
|
||||
"pageTitle": true
|
||||
},
|
||||
"unnamedFields": [
|
||||
{
|
||||
"role": "textbox",
|
||||
"node": 29
|
||||
},
|
||||
{
|
||||
"role": "checkbox",
|
||||
"node": 33
|
||||
}
|
||||
],
|
||||
"relationships": {
|
||||
"duplicateIds": [],
|
||||
"missingDescriptions": []
|
||||
},
|
||||
"regions": [],
|
||||
"pageErrors": []
|
||||
},
|
||||
{
|
||||
"sample": "cluster-edit",
|
||||
"width": 390,
|
||||
"zoom": 1,
|
||||
"actualViewport": {
|
||||
"width": 390,
|
||||
"height": 1000,
|
||||
"document": 390,
|
||||
"dpr": 1
|
||||
},
|
||||
"title": "Edit cluster \u00b7 OtOpcUa",
|
||||
"headings": [
|
||||
"Edit cluster \u00b7 fixture-cluster"
|
||||
],
|
||||
"checks": {
|
||||
"oneHeading": true,
|
||||
"noPageOverflow": true,
|
||||
"fieldsNamed": false,
|
||||
"idsUnique": true,
|
||||
"referencesResolve": true,
|
||||
"namedFocusableRegions": true,
|
||||
"reducedMotionFinal": true,
|
||||
"noPageErrors": true,
|
||||
"pageTitle": true
|
||||
},
|
||||
"unnamedFields": [
|
||||
{
|
||||
"role": "textbox",
|
||||
"node": 40
|
||||
},
|
||||
{
|
||||
"role": "checkbox",
|
||||
"node": 44
|
||||
}
|
||||
],
|
||||
"relationships": {
|
||||
"duplicateIds": [],
|
||||
"missingDescriptions": []
|
||||
},
|
||||
"regions": [],
|
||||
"pageErrors": []
|
||||
},
|
||||
{
|
||||
"sample": "cluster-edit",
|
||||
"width": 1440,
|
||||
"zoom": 2,
|
||||
"actualViewport": {
|
||||
"width": 720,
|
||||
"height": 500,
|
||||
"document": 720,
|
||||
"dpr": 2
|
||||
},
|
||||
"title": "Edit cluster \u00b7 OtOpcUa",
|
||||
"headings": [
|
||||
"Edit cluster \u00b7 fixture-cluster"
|
||||
],
|
||||
"checks": {
|
||||
"oneHeading": true,
|
||||
"noPageOverflow": true,
|
||||
"fieldsNamed": false,
|
||||
"idsUnique": true,
|
||||
"referencesResolve": true,
|
||||
"namedFocusableRegions": true,
|
||||
"reducedMotionFinal": true,
|
||||
"noPageErrors": true,
|
||||
"pageTitle": true
|
||||
},
|
||||
"unnamedFields": [
|
||||
{
|
||||
"role": "textbox",
|
||||
"node": 19
|
||||
},
|
||||
{
|
||||
"role": "checkbox",
|
||||
"node": 23
|
||||
}
|
||||
],
|
||||
"relationships": {
|
||||
"duplicateIds": [],
|
||||
"missingDescriptions": []
|
||||
},
|
||||
"regions": [],
|
||||
"pageErrors": []
|
||||
},
|
||||
{
|
||||
"sample": "cluster-edit",
|
||||
"width": 390,
|
||||
"zoom": 2,
|
||||
"actualViewport": {
|
||||
"width": 195,
|
||||
"height": 500,
|
||||
"document": 244,
|
||||
"dpr": 2
|
||||
},
|
||||
"title": "Edit cluster \u00b7 OtOpcUa",
|
||||
"headings": [
|
||||
"Edit cluster \u00b7 fixture-cluster"
|
||||
],
|
||||
"checks": {
|
||||
"oneHeading": true,
|
||||
"noPageOverflow": false,
|
||||
"fieldsNamed": false,
|
||||
"idsUnique": true,
|
||||
"referencesResolve": true,
|
||||
"namedFocusableRegions": true,
|
||||
"reducedMotionFinal": true,
|
||||
"noPageErrors": true,
|
||||
"pageTitle": true
|
||||
},
|
||||
"unnamedFields": [
|
||||
{
|
||||
"role": "textbox",
|
||||
"node": 18
|
||||
},
|
||||
{
|
||||
"role": "checkbox",
|
||||
"node": 22
|
||||
}
|
||||
],
|
||||
"relationships": {
|
||||
"duplicateIds": [],
|
||||
"missingDescriptions": []
|
||||
},
|
||||
"regions": [],
|
||||
"pageErrors": []
|
||||
},
|
||||
{
|
||||
"sample": "acl-new",
|
||||
"width": 1440,
|
||||
"zoom": 1,
|
||||
"actualViewport": {
|
||||
"width": 1440,
|
||||
"height": 1000,
|
||||
"document": 1440,
|
||||
"dpr": 1
|
||||
},
|
||||
"title": "ACL grant \u00b7 OtOpcUa",
|
||||
"headings": [
|
||||
"New ACL grant \u00b7 fixture-cluster"
|
||||
],
|
||||
"checks": {
|
||||
"oneHeading": true,
|
||||
"noPageOverflow": true,
|
||||
"fieldsNamed": false,
|
||||
"idsUnique": true,
|
||||
"referencesResolve": true,
|
||||
"namedFocusableRegions": true,
|
||||
"reducedMotionFinal": true,
|
||||
"noPageErrors": true,
|
||||
"pageTitle": true
|
||||
},
|
||||
"unnamedFields": [
|
||||
{
|
||||
"role": "textbox",
|
||||
"node": 40
|
||||
}
|
||||
],
|
||||
"relationships": {
|
||||
"duplicateIds": [],
|
||||
"missingDescriptions": []
|
||||
},
|
||||
"regions": [],
|
||||
"pageErrors": []
|
||||
},
|
||||
{
|
||||
"sample": "acl-new",
|
||||
"width": 390,
|
||||
"zoom": 1,
|
||||
"actualViewport": {
|
||||
"width": 390,
|
||||
"height": 1000,
|
||||
"document": 390,
|
||||
"dpr": 1
|
||||
},
|
||||
"title": "ACL grant \u00b7 OtOpcUa",
|
||||
"headings": [
|
||||
"New ACL grant \u00b7 fixture-cluster"
|
||||
],
|
||||
"checks": {
|
||||
"oneHeading": true,
|
||||
"noPageOverflow": true,
|
||||
"fieldsNamed": false,
|
||||
"idsUnique": true,
|
||||
"referencesResolve": true,
|
||||
"namedFocusableRegions": true,
|
||||
"reducedMotionFinal": true,
|
||||
"noPageErrors": true,
|
||||
"pageTitle": true
|
||||
},
|
||||
"unnamedFields": [
|
||||
{
|
||||
"role": "textbox",
|
||||
"node": 75
|
||||
}
|
||||
],
|
||||
"relationships": {
|
||||
"duplicateIds": [],
|
||||
"missingDescriptions": []
|
||||
},
|
||||
"regions": [],
|
||||
"pageErrors": []
|
||||
},
|
||||
{
|
||||
"sample": "acl-new",
|
||||
"width": 1440,
|
||||
"zoom": 2,
|
||||
"actualViewport": {
|
||||
"width": 720,
|
||||
"height": 500,
|
||||
"document": 720,
|
||||
"dpr": 2
|
||||
},
|
||||
"title": "ACL grant \u00b7 OtOpcUa",
|
||||
"headings": [
|
||||
"New ACL grant \u00b7 fixture-cluster"
|
||||
],
|
||||
"checks": {
|
||||
"oneHeading": true,
|
||||
"noPageOverflow": true,
|
||||
"fieldsNamed": false,
|
||||
"idsUnique": true,
|
||||
"referencesResolve": true,
|
||||
"namedFocusableRegions": true,
|
||||
"reducedMotionFinal": true,
|
||||
"noPageErrors": true,
|
||||
"pageTitle": true
|
||||
},
|
||||
"unnamedFields": [
|
||||
{
|
||||
"role": "textbox",
|
||||
"node": 40
|
||||
}
|
||||
],
|
||||
"relationships": {
|
||||
"duplicateIds": [],
|
||||
"missingDescriptions": []
|
||||
},
|
||||
"regions": [],
|
||||
"pageErrors": []
|
||||
},
|
||||
{
|
||||
"sample": "acl-new",
|
||||
"width": 390,
|
||||
"zoom": 2,
|
||||
"actualViewport": {
|
||||
"width": 195,
|
||||
"height": 500,
|
||||
"document": 312,
|
||||
"dpr": 2
|
||||
},
|
||||
"title": "ACL grant \u00b7 OtOpcUa",
|
||||
"headings": [
|
||||
"New ACL grant \u00b7 fixture-cluster"
|
||||
],
|
||||
"checks": {
|
||||
"oneHeading": true,
|
||||
"noPageOverflow": false,
|
||||
"fieldsNamed": false,
|
||||
"idsUnique": true,
|
||||
"referencesResolve": true,
|
||||
"namedFocusableRegions": true,
|
||||
"reducedMotionFinal": true,
|
||||
"noPageErrors": true,
|
||||
"pageTitle": true
|
||||
},
|
||||
"unnamedFields": [
|
||||
{
|
||||
"role": "textbox",
|
||||
"node": 42
|
||||
}
|
||||
],
|
||||
"relationships": {
|
||||
"duplicateIds": [],
|
||||
"missingDescriptions": []
|
||||
},
|
||||
"regions": [],
|
||||
"pageErrors": []
|
||||
},
|
||||
{
|
||||
"sample": "node-new",
|
||||
"width": 1440,
|
||||
"zoom": 1,
|
||||
"actualViewport": {
|
||||
"width": 1440,
|
||||
"height": 1000,
|
||||
"document": 1440,
|
||||
"dpr": 1
|
||||
},
|
||||
"title": "Node editor \u00b7 OtOpcUa",
|
||||
"headings": [
|
||||
"New node \u00b7 fixture-cluster"
|
||||
],
|
||||
"checks": {
|
||||
"oneHeading": true,
|
||||
"noPageOverflow": true,
|
||||
"fieldsNamed": false,
|
||||
"idsUnique": true,
|
||||
"referencesResolve": true,
|
||||
"namedFocusableRegions": true,
|
||||
"reducedMotionFinal": true,
|
||||
"noPageErrors": true,
|
||||
"pageTitle": true
|
||||
},
|
||||
"unnamedFields": [
|
||||
{
|
||||
"role": "checkbox",
|
||||
"node": 27
|
||||
}
|
||||
],
|
||||
"relationships": {
|
||||
"duplicateIds": [],
|
||||
"missingDescriptions": []
|
||||
},
|
||||
"regions": [],
|
||||
"pageErrors": []
|
||||
},
|
||||
{
|
||||
"sample": "node-new",
|
||||
"width": 390,
|
||||
"zoom": 1,
|
||||
"actualViewport": {
|
||||
"width": 390,
|
||||
"height": 1000,
|
||||
"document": 390,
|
||||
"dpr": 1
|
||||
},
|
||||
"title": "Node editor \u00b7 OtOpcUa",
|
||||
"headings": [
|
||||
"New node \u00b7 fixture-cluster"
|
||||
],
|
||||
"checks": {
|
||||
"oneHeading": true,
|
||||
"noPageOverflow": true,
|
||||
"fieldsNamed": false,
|
||||
"idsUnique": true,
|
||||
"referencesResolve": true,
|
||||
"namedFocusableRegions": true,
|
||||
"reducedMotionFinal": true,
|
||||
"noPageErrors": true,
|
||||
"pageTitle": true
|
||||
},
|
||||
"unnamedFields": [
|
||||
{
|
||||
"role": "checkbox",
|
||||
"node": 23
|
||||
}
|
||||
],
|
||||
"relationships": {
|
||||
"duplicateIds": [],
|
||||
"missingDescriptions": []
|
||||
},
|
||||
"regions": [],
|
||||
"pageErrors": []
|
||||
},
|
||||
{
|
||||
"sample": "node-new",
|
||||
"width": 1440,
|
||||
"zoom": 2,
|
||||
"actualViewport": {
|
||||
"width": 720,
|
||||
"height": 500,
|
||||
"document": 720,
|
||||
"dpr": 2
|
||||
},
|
||||
"title": "Node editor \u00b7 OtOpcUa",
|
||||
"headings": [
|
||||
"New node \u00b7 fixture-cluster"
|
||||
],
|
||||
"checks": {
|
||||
"oneHeading": true,
|
||||
"noPageOverflow": true,
|
||||
"fieldsNamed": false,
|
||||
"idsUnique": true,
|
||||
"referencesResolve": true,
|
||||
"namedFocusableRegions": true,
|
||||
"reducedMotionFinal": true,
|
||||
"noPageErrors": true,
|
||||
"pageTitle": true
|
||||
},
|
||||
"unnamedFields": [
|
||||
{
|
||||
"role": "checkbox",
|
||||
"node": 23
|
||||
}
|
||||
],
|
||||
"relationships": {
|
||||
"duplicateIds": [],
|
||||
"missingDescriptions": []
|
||||
},
|
||||
"regions": [],
|
||||
"pageErrors": []
|
||||
},
|
||||
{
|
||||
"sample": "node-new",
|
||||
"width": 390,
|
||||
"zoom": 2,
|
||||
"actualViewport": {
|
||||
"width": 195,
|
||||
"height": 500,
|
||||
"document": 244,
|
||||
"dpr": 2
|
||||
},
|
||||
"title": "Node editor \u00b7 OtOpcUa",
|
||||
"headings": [
|
||||
"New node \u00b7 fixture-cluster"
|
||||
],
|
||||
"checks": {
|
||||
"oneHeading": true,
|
||||
"noPageOverflow": false,
|
||||
"fieldsNamed": false,
|
||||
"idsUnique": true,
|
||||
"referencesResolve": true,
|
||||
"namedFocusableRegions": true,
|
||||
"reducedMotionFinal": true,
|
||||
"noPageErrors": true,
|
||||
"pageTitle": true
|
||||
},
|
||||
"unnamedFields": [
|
||||
{
|
||||
"role": "checkbox",
|
||||
"node": 23
|
||||
}
|
||||
],
|
||||
"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 <module>
|
||||
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
|
||||
Reference in New Issue
Block a user