Complete common picker and tree field accessibility
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
[
|
||||
{
|
||||
"tag": "input",
|
||||
"key": "field-01",
|
||||
"labelsAdded": [
|
||||
"Tag name"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "input",
|
||||
"key": "field-02",
|
||||
"labelsAdded": [
|
||||
"Element index (optional)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "input",
|
||||
"key": "abCipUseIdx",
|
||||
"labelsAdded": []
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,23 @@
|
||||
[
|
||||
{
|
||||
"tag": "select",
|
||||
"key": "field-01",
|
||||
"labelsAdded": [
|
||||
"File type"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "input",
|
||||
"key": "field-02",
|
||||
"labelsAdded": [
|
||||
"File number"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "input",
|
||||
"key": "field-03",
|
||||
"labelsAdded": [
|
||||
"Element"
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,23 @@
|
||||
[
|
||||
{
|
||||
"tag": "select",
|
||||
"key": "field-01",
|
||||
"labelsAdded": [
|
||||
"Script"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "input",
|
||||
"key": "field-02",
|
||||
"labelsAdded": [
|
||||
"Change-triggered"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "input",
|
||||
"key": "field-03",
|
||||
"labelsAdded": [
|
||||
"Timer (ms)"
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,22 @@
|
||||
[
|
||||
{
|
||||
"tag": "InputText",
|
||||
"key": "instId",
|
||||
"labelsAdded": []
|
||||
},
|
||||
{
|
||||
"tag": "InputText",
|
||||
"key": "name",
|
||||
"labelsAdded": []
|
||||
},
|
||||
{
|
||||
"tag": "InputSelect",
|
||||
"key": "dtype",
|
||||
"labelsAdded": []
|
||||
},
|
||||
{
|
||||
"tag": "InputCheckbox",
|
||||
"key": "enabled",
|
||||
"labelsAdded": []
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,51 @@
|
||||
[
|
||||
{
|
||||
"tag": "select",
|
||||
"key": "field-01",
|
||||
"labelsAdded": [
|
||||
"Address space"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "select",
|
||||
"key": "field-02",
|
||||
"labelsAdded": [
|
||||
"Alarms"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "input",
|
||||
"key": "field-03",
|
||||
"labelsAdded": [
|
||||
"Number (optional)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "input",
|
||||
"key": "field-04",
|
||||
"labelsAdded": [
|
||||
"to (optional)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "select",
|
||||
"key": "field-05",
|
||||
"labelsAdded": [
|
||||
"Area"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "input",
|
||||
"key": "field-06",
|
||||
"labelsAdded": [
|
||||
"@(_kind == FocasManualAddressKind.Pmc ? \"Byte\" : \"Number\")"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "input",
|
||||
"key": "field-07",
|
||||
"labelsAdded": [
|
||||
"Bit (optional, @(_kind == FocasManualAddressKind.Pmc ? \"0-7\" : \"0-31\"))"
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,16 @@
|
||||
[
|
||||
{
|
||||
"tag": "input",
|
||||
"key": "field-01",
|
||||
"labelsAdded": [
|
||||
"Tag name"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "input",
|
||||
"key": "field-02",
|
||||
"labelsAdded": [
|
||||
"Attribute name"
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,23 @@
|
||||
[
|
||||
{
|
||||
"tag": "select",
|
||||
"key": "field-01",
|
||||
"labelsAdded": [
|
||||
"Register type"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "input",
|
||||
"key": "field-02",
|
||||
"labelsAdded": [
|
||||
"Offset"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "input",
|
||||
"key": "field-03",
|
||||
"labelsAdded": [
|
||||
"Length"
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,22 @@
|
||||
[
|
||||
{
|
||||
"tag": "input",
|
||||
"key": "native-alarm-enabled",
|
||||
"labelsAdded": []
|
||||
},
|
||||
{
|
||||
"tag": "select",
|
||||
"key": "native-alarm-type",
|
||||
"labelsAdded": []
|
||||
},
|
||||
{
|
||||
"tag": "input",
|
||||
"key": "native-alarm-severity",
|
||||
"labelsAdded": []
|
||||
},
|
||||
{
|
||||
"tag": "select",
|
||||
"key": "native-alarm-historize",
|
||||
"labelsAdded": []
|
||||
}
|
||||
]
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
[
|
||||
{
|
||||
"tag": "input",
|
||||
"key": "field-01",
|
||||
"labelsAdded": [
|
||||
"NodeId"
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,30 @@
|
||||
[
|
||||
{
|
||||
"tag": "select",
|
||||
"key": "field-01",
|
||||
"labelsAdded": [
|
||||
"Area"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "input",
|
||||
"key": "field-02",
|
||||
"labelsAdded": [
|
||||
"DB number"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "input",
|
||||
"key": "field-03",
|
||||
"labelsAdded": [
|
||||
"Offset (bytes)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "select",
|
||||
"key": "field-04",
|
||||
"labelsAdded": [
|
||||
"S7 type"
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,28 @@
|
||||
[
|
||||
{
|
||||
"tag": "input",
|
||||
"key": "field-01",
|
||||
"labelsAdded": [
|
||||
"Address"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "select",
|
||||
"key": "field-02",
|
||||
"labelsAdded": [
|
||||
"Data type"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "input",
|
||||
"key": "field-03",
|
||||
"labelsAdded": [
|
||||
"String len"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "input",
|
||||
"key": "s7-writable",
|
||||
"labelsAdded": []
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,93 @@
|
||||
[
|
||||
{
|
||||
"tag": "select",
|
||||
"key": "field-01",
|
||||
"labelsAdded": [
|
||||
"Model"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "input",
|
||||
"key": "field-02",
|
||||
"labelsAdded": [
|
||||
"Table or view"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "select",
|
||||
"key": "field-03",
|
||||
"labelsAdded": [
|
||||
"Type"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "input",
|
||||
"key": "field-04",
|
||||
"labelsAdded": [
|
||||
"Key column"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "input",
|
||||
"key": "field-05",
|
||||
"labelsAdded": [
|
||||
"Key value"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "input",
|
||||
"key": "field-06",
|
||||
"labelsAdded": [
|
||||
"Value column"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "input",
|
||||
"key": "field-07",
|
||||
"labelsAdded": [
|
||||
"Value column"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "select",
|
||||
"key": "field-08",
|
||||
"labelsAdded": [
|
||||
"Row selector"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "input",
|
||||
"key": "field-09",
|
||||
"labelsAdded": [
|
||||
"Where column"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "input",
|
||||
"key": "field-10",
|
||||
"labelsAdded": [
|
||||
"Where value"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "input",
|
||||
"key": "field-11",
|
||||
"labelsAdded": [
|
||||
"Order-by (timestamp) column"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "input",
|
||||
"key": "field-12",
|
||||
"labelsAdded": [
|
||||
"Timestamp column (optional)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "input",
|
||||
"key": "field-13",
|
||||
"labelsAdded": [
|
||||
"Ad-hoc connection string (session-only, never saved)"
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,9 @@
|
||||
[
|
||||
{
|
||||
"tag": "input",
|
||||
"key": "field-01",
|
||||
"labelsAdded": [
|
||||
"ADS variable name"
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,28 @@
|
||||
[
|
||||
{
|
||||
"tag": "input",
|
||||
"key": "field-01",
|
||||
"labelsAdded": [
|
||||
"Device host"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "input",
|
||||
"key": "field-02",
|
||||
"labelsAdded": [
|
||||
"Symbol path"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "select",
|
||||
"key": "field-03",
|
||||
"labelsAdded": [
|
||||
"Data type"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "input",
|
||||
"key": "twincat-writable",
|
||||
"labelsAdded": []
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,27 @@
|
||||
"""Native repeated-instance common labels, header-derived names and existing hints; no browse operations."""
|
||||
import json
|
||||
from pathlib import Path
|
||||
from playwright.sync_api import sync_playwright,expect
|
||||
OUT=Path(__file__).resolve().parent/'common-controls'/'browser';OUT.mkdir(exist_ok=True)
|
||||
results=[]
|
||||
with sync_playwright() as p:
|
||||
b=p.chromium.launch()
|
||||
for width,height in [(1440,900),(390,844)]:
|
||||
page=b.new_page(viewport={'width':width,'height':height});errors=[];page.on('pageerror',lambda e:errors.append(str(e)))
|
||||
page.goto('http://127.0.0.1:18137/common');expect(page.locator('#interactive')).to_have_text('True')
|
||||
data=page.evaluate('''()=>{const ids=[...document.querySelectorAll('[id]')].map(e=>e.id);return {width:innerWidth,scrollWidth:document.documentElement.scrollWidth,uniqueIds:new Set(ids).size===ids.length,fields:[...document.querySelectorAll('[data-common] input,[data-common] select,[data-common] textarea')].map(e=>({id:e.id,name:e.getAttribute('aria-label')||[...e.labels].map(l=>l.textContent.trim()).join(' ')||(e.getAttribute('aria-labelledby')||'').split(' ').map(id=>document.getElementById(id)?.textContent||'').join(' ').trim(),descriptions:(e.getAttribute('aria-describedby')||'').split(' ').filter(Boolean).map(id=>({id,present:!!document.getElementById(id)}))}))}}''')
|
||||
assert data['uniqueIds'] and data['width']==data['scrollWidth'];assert data['fields'] and all(f['name'] and all(d['present'] for d in f['descriptions']) for f in data['fields'])
|
||||
clicked=[]
|
||||
for region in page.locator('[data-common][data-copy="0"]').all():
|
||||
if region.get_attribute('data-common')=='DriverResilienceSection':
|
||||
expect(region.get_by_role('spinbutton',name='Read Timeout (s)',exact=True)).to_have_count(1)
|
||||
scroll=region.get_by_role('region',name='Resilience overrides',exact=True);scroll.focus()
|
||||
if width==390:
|
||||
scroll.press('ArrowRight');page.wait_for_function('document.activeElement.scrollLeft>0')
|
||||
continue
|
||||
label=region.locator('label[for]').first;ident=label.get_attribute('for');control=region.locator('[id="'+ident+'"]');label.click();expect(control).to_be_focused();clicked.append(region.get_attribute('data-common'))
|
||||
for name in ['DriverIdentitySection','DriverResilienceSection','SqlAddressPickerBody']:
|
||||
page.locator('[data-common="'+name+'"][data-copy="0"]').screenshot(path=str(OUT/(name+'-'+str(width)+'.png')))
|
||||
results.append({'viewport':width,'inventory':data,'labelClickFocus':clicked,'resilienceHeaderDerivedName':True,'errors':errors});assert not errors;page.close()
|
||||
b.close()
|
||||
(OUT/'results.json').write_text(json.dumps({'boundary':'Reader identity; real common components; every backend/browse operation refused; no save/connection operations','cases':results},indent=2)+'\n');print('PASS2viewports;11repeated real common surfaces;20label focuschecks;row/column accessible names;nooverflow/errors')
|
||||
@@ -3,3 +3,13 @@
|
||||
First5 actual component cases failed before association: three static address builders had unnamed inputs, identity repeated literal IDs, and resilience table inputs had no names. Existing native geometry is retained. Static builder labels now use per-instance IDs; identity errors and driver-type help resolve to their named fields. Resilience fields derive names from actual visible capability row and option column headers using per-instance aria-labelledby targets. Existing policy/default/clamping/emitted JSON and builder bodies are unchanged.
|
||||
|
||||
5repeated-instance field checks plus existing builder/model regression coverage pass62/62. Remaining live-browser picker bodies and tree controls are not yet accepted by this checkpoint.
|
||||
|
||||
The remaining6live-browser picker shells now have scoped names/IDs and existing single-field help relationships; this includes SQL's operator-only ad-hoc connection-string draft, with no real credential or connection. Initial6rendered name failures are retained. Operator conditional FOCAS Alarm/Parameter/Macro and SQL WideRow/Where/Newest branches resolve labels/help across two instances; 'Through number' makes the alarm range endpoint's existing visible label explicit. The first conditional fixture refused the pure CanBrowse capability query; corrected fake permits only that local boolean and counts/refuses every session/connection/operation.
|
||||
|
||||
Two actual tree regressions fail before contextual names/states and pass after: driver tree expands synthetic children, names filter/leaf selection; ACL tree exposes node expansion and selected state. Changes are ARIA attributes only; lazy loaders, node paths, selections, handlers and their domain methods are unchanged. These tree checks are rendered behavior, not an additional native-tree/production browse certification.
|
||||
|
||||
Native common-field host checks at1440/390 pass112controls perviewport,20actual visible-label focus checks, header-derived 'Read Timeout (s)' name,unique IDs/resolved help/no page overflow or browser errors. The resilience table now has a named focusable local scroll region; actual phone ArrowRight scrolls horizontally. Existing compact geometry and local table overflow are retained. Screenshots have one bounded initial inspection and one region correction confirmation.
|
||||
|
||||
DriverFormShell/TestConnectButton contain no editable unnamed fields and retain complete visible error/warning outcomes; no OT13 edits are needed there. DriverStatusPanel similarly has no editable fields but remains the primary agent's OT08 diagnostic/modal followup, so this field checkpoint does not certify its operation-result disclosures. Eleven common component business bodies and event/bind expressions match GB baseline independently (business-boundaries.json). Two tree diffs alter only rendered attributes. No builder/domain model, persistence, policy, endpoint or shared package is changed.
|
||||
|
||||
Final focused result:68passed/0failed/0skipped (17common rendered/conditional/tree cases plus51existing builder/open-lifecycle regressions). The final conditional range/Newest assertions are included. Broader OT unit/integration and actual whole-application200% acceptance remain the chapter owner's final gate.
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
PASS2viewports;11repeated real common surfaces;20label focuschecks;row/column accessible names;nooverflow/errors
|
||||
BIN
Binary file not shown.
|
After Width: | Height: | Size: 33 KiB |
BIN
Binary file not shown.
|
After Width: | Height: | Size: 28 KiB |
BIN
Binary file not shown.
|
After Width: | Height: | Size: 61 KiB |
BIN
Binary file not shown.
|
After Width: | Height: | Size: 43 KiB |
BIN
Binary file not shown.
|
After Width: | Height: | Size: 49 KiB |
BIN
Binary file not shown.
|
After Width: | Height: | Size: 48 KiB |
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,57 @@
|
||||
[
|
||||
{
|
||||
"path": "src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/DriverIdentitySection.razor",
|
||||
"originalBusinessBodySuffix": true,
|
||||
"eventBindingsEqual": true
|
||||
},
|
||||
{
|
||||
"path": "src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/DriverResilienceSection.razor",
|
||||
"originalBusinessBodySuffix": true,
|
||||
"eventBindingsEqual": true
|
||||
},
|
||||
{
|
||||
"path": "src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/Pickers/AbCipAddressPickerBody.razor",
|
||||
"originalBusinessBodySuffix": true,
|
||||
"eventBindingsEqual": true
|
||||
},
|
||||
{
|
||||
"path": "src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/Pickers/AbLegacyAddressPickerBody.razor",
|
||||
"originalBusinessBodySuffix": true,
|
||||
"eventBindingsEqual": true
|
||||
},
|
||||
{
|
||||
"path": "src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/Pickers/FOCASAddressPickerBody.razor",
|
||||
"originalBusinessBodySuffix": true,
|
||||
"eventBindingsEqual": true
|
||||
},
|
||||
{
|
||||
"path": "src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/Pickers/GalaxyAddressPickerBody.razor",
|
||||
"originalBusinessBodySuffix": true,
|
||||
"eventBindingsEqual": true
|
||||
},
|
||||
{
|
||||
"path": "src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/Pickers/ModbusAddressPickerBody.razor",
|
||||
"originalBusinessBodySuffix": true,
|
||||
"eventBindingsEqual": true
|
||||
},
|
||||
{
|
||||
"path": "src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/Pickers/OpcUaClientAddressPickerBody.razor",
|
||||
"originalBusinessBodySuffix": true,
|
||||
"eventBindingsEqual": true
|
||||
},
|
||||
{
|
||||
"path": "src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/Pickers/S7AddressPickerBody.razor",
|
||||
"originalBusinessBodySuffix": true,
|
||||
"eventBindingsEqual": true
|
||||
},
|
||||
{
|
||||
"path": "src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/Pickers/SqlAddressPickerBody.razor",
|
||||
"originalBusinessBodySuffix": true,
|
||||
"eventBindingsEqual": true
|
||||
},
|
||||
{
|
||||
"path": "src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/Pickers/TwinCATAddressPickerBody.razor",
|
||||
"originalBusinessBodySuffix": true,
|
||||
"eventBindingsEqual": true
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,112 @@
|
||||
|
||||
ZB.MOM.WW.OtOpcUa.Analyzers -> /Users/dohertj2/Desktop/OtOpcUa/src/Tooling/ZB.MOM.WW.OtOpcUa.Analyzers/bin/Debug/netstandard2.0/ZB.MOM.WW.OtOpcUa.Analyzers.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Abstractions/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.Abstractions.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Commons -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Commons/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Commons.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Cluster -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Cluster/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Cluster.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.Scripting -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.VirtualTags -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.VirtualTags/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.dll
|
||||
ZB.MOM.WW.OtOpcUa.Configuration -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Configuration/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Configuration.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.dll
|
||||
ZB.MOM.WW.OtOpcUa.Security -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Security/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Security.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Heidenhain -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Sql -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Galaxy -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.FOCAS -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.dll
|
||||
ZB.MOM.WW.OtOpcUa.ControlPlane -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.ControlPlane/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.ControlPlane.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.MTConnect -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.dll
|
||||
ZB.MOM.WW.OtOpcUa.OpcUaServer -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.OpcUaServer.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.AbCip -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbCip.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.AbLegacy -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.dll
|
||||
ZB.MOM.WW.OtOpcUa.Runtime -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Runtime/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Runtime.dll
|
||||
ZB.MOM.WW.OtOpcUa.AdminUI -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.dll
|
||||
ZB.MOM.WW.OtOpcUa.AdminUI.Tests -> /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll
|
||||
Test run for /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (.NETCoreApp,Version=v10.0)
|
||||
A total of 1 test files matched the specified pattern.
|
||||
[xUnit.net 00:00:01.32] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.ConditionalPickerFields_RemainNamedWithoutBrowserOperations(type: typeof(ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.Pickers.FOCASAddressPickerBody), branch: "Macro") [FAIL]
|
||||
[xUnit.net 00:00:01.32] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.ConditionalPickerFields_RemainNamedWithoutBrowserOperations(type: typeof(ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.Pickers.FOCASAddressPickerBody), branch: "Parameter") [FAIL]
|
||||
[xUnit.net 00:00:01.33] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.ConditionalPickerFields_RemainNamedWithoutBrowserOperations(type: typeof(ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.Pickers.FOCASAddressPickerBody), branch: "Alarm") [FAIL]
|
||||
Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.ConditionalPickerFields_RemainNamedWithoutBrowserOperations(type: typeof(ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.Pickers.FOCASAddressPickerBody), branch: "Macro") [1 ms]
|
||||
Error Message:
|
||||
System.NotSupportedException : Field fixture refuses browser operations: CanBrowse
|
||||
Stack Trace:
|
||||
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.RefusingBrowserProxy.Invoke(MethodInfo method, Object[] args) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/CommonControlAccessibilityTests.cs:line 109
|
||||
at generatedProxy_2.CanBrowse(String, String)
|
||||
at ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.Pickers.FOCASAddressPickerBody.OnInitializedAsync() in /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/Pickers/FOCASAddressPickerBody.razor:line 181
|
||||
at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync()
|
||||
at Bunit.Rendering.BunitRenderer.AssertNoUnhandledExceptions() in /_/src/bunit/Rendering/BunitRenderer.cs:line 707
|
||||
at Bunit.Rendering.BunitRenderer.Render(RenderFragment renderFragment) in /_/src/bunit/Rendering/BunitRenderer.cs:line 597
|
||||
at Bunit.Rendering.BunitRenderer.RenderFragment(RenderFragment renderFragment) in /_/src/bunit/Rendering/BunitRenderer.cs:line 137
|
||||
at Bunit.BunitContext.RenderInsideRenderTree(RenderFragment renderFragment) in /_/src/bunit/BunitContext.cs:line 230
|
||||
at Bunit.BunitContext.RenderInsideRenderTree[TComponent](RenderFragment renderFragment) in /_/src/bunit/BunitContext.cs:line 214
|
||||
at Bunit.BunitContext.Render[TComponent](RenderFragment renderFragment) in /_/src/bunit/BunitContext.cs:line 169
|
||||
at Bunit.BunitContext.Render[TComponent](Action`1 parameterBuilder) in /_/src/bunit/BunitContext.cs:line 152
|
||||
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.RenderFields(Type type) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/CommonControlAccessibilityTests.cs:line 68
|
||||
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.ConditionalPickerFields_RemainNamedWithoutBrowserOperations(Type type, String branch) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/CommonControlAccessibilityTests.cs:line 60
|
||||
at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
|
||||
at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
|
||||
Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.ConditionalPickerFields_RemainNamedWithoutBrowserOperations(type: typeof(ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.Pickers.FOCASAddressPickerBody), branch: "Parameter") [< 1 ms]
|
||||
Error Message:
|
||||
System.NotSupportedException : Field fixture refuses browser operations: CanBrowse
|
||||
Stack Trace:
|
||||
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.RefusingBrowserProxy.Invoke(MethodInfo method, Object[] args) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/CommonControlAccessibilityTests.cs:line 109
|
||||
at generatedProxy_2.CanBrowse(String, String)
|
||||
at ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.Pickers.FOCASAddressPickerBody.OnInitializedAsync() in /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/Pickers/FOCASAddressPickerBody.razor:line 181
|
||||
at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync()
|
||||
at Bunit.Rendering.BunitRenderer.AssertNoUnhandledExceptions() in /_/src/bunit/Rendering/BunitRenderer.cs:line 707
|
||||
at Bunit.Rendering.BunitRenderer.Render(RenderFragment renderFragment) in /_/src/bunit/Rendering/BunitRenderer.cs:line 597
|
||||
at Bunit.Rendering.BunitRenderer.RenderFragment(RenderFragment renderFragment) in /_/src/bunit/Rendering/BunitRenderer.cs:line 137
|
||||
at Bunit.BunitContext.RenderInsideRenderTree(RenderFragment renderFragment) in /_/src/bunit/BunitContext.cs:line 230
|
||||
at Bunit.BunitContext.RenderInsideRenderTree[TComponent](RenderFragment renderFragment) in /_/src/bunit/BunitContext.cs:line 214
|
||||
at Bunit.BunitContext.Render[TComponent](RenderFragment renderFragment) in /_/src/bunit/BunitContext.cs:line 169
|
||||
at Bunit.BunitContext.Render[TComponent](Action`1 parameterBuilder) in /_/src/bunit/BunitContext.cs:line 152
|
||||
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.RenderFields(Type type) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/CommonControlAccessibilityTests.cs:line 68
|
||||
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.ConditionalPickerFields_RemainNamedWithoutBrowserOperations(Type type, String branch) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/CommonControlAccessibilityTests.cs:line 60
|
||||
at InvokeStub_CommonControlAccessibilityTests.ConditionalPickerFields_RemainNamedWithoutBrowserOperations(Object, Span`1)
|
||||
at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
|
||||
Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.ConditionalPickerFields_RemainNamedWithoutBrowserOperations(type: typeof(ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.Pickers.FOCASAddressPickerBody), branch: "Alarm") [< 1 ms]
|
||||
Error Message:
|
||||
System.NotSupportedException : Field fixture refuses browser operations: CanBrowse
|
||||
Stack Trace:
|
||||
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.RefusingBrowserProxy.Invoke(MethodInfo method, Object[] args) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/CommonControlAccessibilityTests.cs:line 109
|
||||
at generatedProxy_2.CanBrowse(String, String)
|
||||
at ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.Pickers.FOCASAddressPickerBody.OnInitializedAsync() in /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Shared/Drivers/Pickers/FOCASAddressPickerBody.razor:line 181
|
||||
at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync()
|
||||
at Bunit.Rendering.BunitRenderer.AssertNoUnhandledExceptions() in /_/src/bunit/Rendering/BunitRenderer.cs:line 707
|
||||
at Bunit.Rendering.BunitRenderer.Render(RenderFragment renderFragment) in /_/src/bunit/Rendering/BunitRenderer.cs:line 597
|
||||
at Bunit.Rendering.BunitRenderer.RenderFragment(RenderFragment renderFragment) in /_/src/bunit/Rendering/BunitRenderer.cs:line 137
|
||||
at Bunit.BunitContext.RenderInsideRenderTree(RenderFragment renderFragment) in /_/src/bunit/BunitContext.cs:line 230
|
||||
at Bunit.BunitContext.RenderInsideRenderTree[TComponent](RenderFragment renderFragment) in /_/src/bunit/BunitContext.cs:line 214
|
||||
at Bunit.BunitContext.Render[TComponent](RenderFragment renderFragment) in /_/src/bunit/BunitContext.cs:line 169
|
||||
at Bunit.BunitContext.Render[TComponent](Action`1 parameterBuilder) in /_/src/bunit/BunitContext.cs:line 152
|
||||
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.RenderFields(Type type) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/CommonControlAccessibilityTests.cs:line 68
|
||||
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.ConditionalPickerFields_RemainNamedWithoutBrowserOperations(Type type, String branch) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/CommonControlAccessibilityTests.cs:line 60
|
||||
at InvokeStub_CommonControlAccessibilityTests.ConditionalPickerFields_RemainNamedWithoutBrowserOperations(Object, Span`1)
|
||||
at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
|
||||
|
||||
Failed! - Failed: 3, Passed: 65, Skipped: 0, Total: 68, Duration: 218 ms - ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (net10.0)
|
||||
@@ -0,0 +1,52 @@
|
||||
|
||||
ZB.MOM.WW.OtOpcUa.Analyzers -> /Users/dohertj2/Desktop/OtOpcUa/src/Tooling/ZB.MOM.WW.OtOpcUa.Analyzers/bin/Debug/netstandard2.0/ZB.MOM.WW.OtOpcUa.Analyzers.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Abstractions/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.Abstractions.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Commons -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Commons/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Commons.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll
|
||||
ZB.MOM.WW.OtOpcUa.Cluster -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Cluster/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Cluster.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.Scripting -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.VirtualTags -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.VirtualTags/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.dll
|
||||
ZB.MOM.WW.OtOpcUa.Configuration -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Configuration/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Configuration.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.dll
|
||||
ZB.MOM.WW.OtOpcUa.Security -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Security/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Security.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Heidenhain -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.MTConnect -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.AbCip -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbCip.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.AbLegacy -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Sql -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.FOCAS -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.dll
|
||||
ZB.MOM.WW.OtOpcUa.OpcUaServer -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.OpcUaServer.dll
|
||||
ZB.MOM.WW.OtOpcUa.ControlPlane -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.ControlPlane/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.ControlPlane.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Galaxy -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.dll
|
||||
ZB.MOM.WW.OtOpcUa.Runtime -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Runtime/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Runtime.dll
|
||||
ZB.MOM.WW.OtOpcUa.AdminUI -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.dll
|
||||
ZB.MOM.WW.OtOpcUa.AdminUI.Tests -> /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll
|
||||
Test run for /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (.NETCoreApp,Version=v10.0)
|
||||
A total of 1 test files matched the specified pattern.
|
||||
|
||||
Passed! - Failed: 0, Passed: 68, Skipped: 0, Total: 68, Duration: 217 ms - ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (net10.0)
|
||||
@@ -0,0 +1,134 @@
|
||||
|
||||
ZB.MOM.WW.OtOpcUa.Analyzers -> /Users/dohertj2/Desktop/OtOpcUa/src/Tooling/ZB.MOM.WW.OtOpcUa.Analyzers/bin/Debug/netstandard2.0/ZB.MOM.WW.OtOpcUa.Analyzers.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Abstractions/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.Abstractions.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.dll
|
||||
ZB.MOM.WW.OtOpcUa.Commons -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Commons/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Commons.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll
|
||||
ZB.MOM.WW.OtOpcUa.Cluster -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Cluster/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Cluster.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.Scripting -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.VirtualTags -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.VirtualTags/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.dll
|
||||
ZB.MOM.WW.OtOpcUa.Configuration -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Configuration/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Configuration.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.dll
|
||||
ZB.MOM.WW.OtOpcUa.Security -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Security/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Security.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Heidenhain -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Sql -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Galaxy -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.FOCAS -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.MTConnect -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.dll
|
||||
ZB.MOM.WW.OtOpcUa.ControlPlane -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.ControlPlane/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.ControlPlane.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.AbCip -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbCip.dll
|
||||
ZB.MOM.WW.OtOpcUa.OpcUaServer -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.OpcUaServer.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.AbLegacy -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.dll
|
||||
ZB.MOM.WW.OtOpcUa.Runtime -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Runtime/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Runtime.dll
|
||||
ZB.MOM.WW.OtOpcUa.AdminUI -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.dll
|
||||
ZB.MOM.WW.OtOpcUa.AdminUI.Tests -> /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll
|
||||
Test run for /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (.NETCoreApp,Version=v10.0)
|
||||
A total of 1 test files matched the specified pattern.
|
||||
[xUnit.net 00:00:01.42] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.CommonFields_TwoInstancesHaveResolvedNames(type: typeof(ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.Pickers.SqlAddressPickerBody)) [FAIL]
|
||||
[xUnit.net 00:00:01.43] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.CommonFields_TwoInstancesHaveResolvedNames(type: typeof(ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.Pickers.AbCipAddressPickerBody)) [FAIL]
|
||||
[xUnit.net 00:00:01.44] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.CommonFields_TwoInstancesHaveResolvedNames(type: typeof(ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.Pickers.GalaxyAddressPickerBody)) [FAIL]
|
||||
[xUnit.net 00:00:01.44] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.CommonFields_TwoInstancesHaveResolvedNames(type: typeof(ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.Pickers.OpcUaClientAddressPickerBody)) [FAIL]
|
||||
[xUnit.net 00:00:01.45] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.CommonFields_TwoInstancesHaveResolvedNames(type: typeof(ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.Pickers.FOCASAddressPickerBody)) [FAIL]
|
||||
Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.CommonFields_TwoInstancesHaveResolvedNames(type: typeof(ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.Pickers.SqlAddressPickerBody)) [198 ms]
|
||||
Error Message:
|
||||
Shouldly.ShouldAssertException : name (null)
|
||||
should not be null or white space
|
||||
|
||||
Additional Info:
|
||||
<select class="form-select form-select-sm" value="KeyValue" blazor:onchange="1"><option value="KeyValue" selected="">KeyValue</option>
|
||||
<option value="WideRow">WideRow</option></select>
|
||||
Stack Trace:
|
||||
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.AssertRelationships(IRenderedComponent`1 cut) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/CommonControlAccessibilityTests.cs:line 68
|
||||
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.CommonFields_TwoInstancesHaveResolvedNames(Type type) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/CommonControlAccessibilityTests.cs:line 54
|
||||
at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
|
||||
at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
|
||||
Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.CommonFields_TwoInstancesHaveResolvedNames(type: typeof(ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.Pickers.AbCipAddressPickerBody)) [5 ms]
|
||||
Error Message:
|
||||
Shouldly.ShouldAssertException : ids.Distinct(StringComparer.Ordinal).Count()
|
||||
should be
|
||||
2
|
||||
but was
|
||||
1
|
||||
Stack Trace:
|
||||
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.AssertRelationships(IRenderedComponent`1 cut) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/CommonControlAccessibilityTests.cs:line 60
|
||||
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.CommonFields_TwoInstancesHaveResolvedNames(Type type) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/CommonControlAccessibilityTests.cs:line 54
|
||||
at InvokeStub_CommonControlAccessibilityTests.CommonFields_TwoInstancesHaveResolvedNames(Object, Span`1)
|
||||
at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
|
||||
Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.CommonFields_TwoInstancesHaveResolvedNames(type: typeof(ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.Pickers.GalaxyAddressPickerBody)) [3 ms]
|
||||
Error Message:
|
||||
Shouldly.ShouldAssertException : name (null)
|
||||
should not be null or white space
|
||||
|
||||
Additional Info:
|
||||
<input type="text" class="form-control form-control-sm mono" placeholder="DelmiaReceiver_001" value="" blazor:onchange="1">
|
||||
Stack Trace:
|
||||
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.AssertRelationships(IRenderedComponent`1 cut) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/CommonControlAccessibilityTests.cs:line 68
|
||||
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.CommonFields_TwoInstancesHaveResolvedNames(Type type) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/CommonControlAccessibilityTests.cs:line 54
|
||||
at InvokeStub_CommonControlAccessibilityTests.CommonFields_TwoInstancesHaveResolvedNames(Object, Span`1)
|
||||
at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
|
||||
Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.CommonFields_TwoInstancesHaveResolvedNames(type: typeof(ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.Pickers.OpcUaClientAddressPickerBody)) [2 ms]
|
||||
Error Message:
|
||||
Shouldly.ShouldAssertException : name (null)
|
||||
should not be null or white space
|
||||
|
||||
Additional Info:
|
||||
<input type="text" class="form-control form-control-sm mono" placeholder="ns=2;s=Channel.Device.Tag" value="" blazor:onchange="1">
|
||||
Stack Trace:
|
||||
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.AssertRelationships(IRenderedComponent`1 cut) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/CommonControlAccessibilityTests.cs:line 68
|
||||
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.CommonFields_TwoInstancesHaveResolvedNames(Type type) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/CommonControlAccessibilityTests.cs:line 54
|
||||
at InvokeStub_CommonControlAccessibilityTests.CommonFields_TwoInstancesHaveResolvedNames(Object, Span`1)
|
||||
at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
|
||||
Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.CommonFields_TwoInstancesHaveResolvedNames(type: typeof(ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.Pickers.FOCASAddressPickerBody)) [9 ms]
|
||||
Error Message:
|
||||
Shouldly.ShouldAssertException : name (null)
|
||||
should not be null or white space
|
||||
|
||||
Additional Info:
|
||||
<select class="form-select form-select-sm" value="Pmc" blazor:onchange="1"><option value="Pmc" selected="">PMC</option>
|
||||
<option value="Parameter">CNC parameter</option>
|
||||
<option value="Macro">Macro variable</option>
|
||||
<option value="Alarm">CNC alarm (condition)</option></select>
|
||||
Stack Trace:
|
||||
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.AssertRelationships(IRenderedComponent`1 cut) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/CommonControlAccessibilityTests.cs:line 68
|
||||
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.CommonFields_TwoInstancesHaveResolvedNames(Type type) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/CommonControlAccessibilityTests.cs:line 54
|
||||
at InvokeStub_CommonControlAccessibilityTests.CommonFields_TwoInstancesHaveResolvedNames(Object, Span`1)
|
||||
at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
|
||||
[xUnit.net 00:00:01.49] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.CommonFields_TwoInstancesHaveResolvedNames(type: typeof(ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.Pickers.TwinCATAddressPickerBody)) [FAIL]
|
||||
Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.CommonFields_TwoInstancesHaveResolvedNames(type: typeof(ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.Pickers.TwinCATAddressPickerBody)) [2 ms]
|
||||
Error Message:
|
||||
Shouldly.ShouldAssertException : name (null)
|
||||
should not be null or white space
|
||||
|
||||
Additional Info:
|
||||
<input type="text" class="form-control form-control-sm mono" placeholder="MAIN.fValue" value="" blazor:onchange="1">
|
||||
Stack Trace:
|
||||
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.AssertRelationships(IRenderedComponent`1 cut) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/CommonControlAccessibilityTests.cs:line 68
|
||||
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.CommonFields_TwoInstancesHaveResolvedNames(Type type) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/CommonControlAccessibilityTests.cs:line 54
|
||||
at InvokeStub_CommonControlAccessibilityTests.CommonFields_TwoInstancesHaveResolvedNames(Object, Span`1)
|
||||
at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
|
||||
|
||||
Failed! - Failed: 6, Passed: 5, Skipped: 0, Total: 11, Duration: 270 ms - ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (net10.0)
|
||||
@@ -0,0 +1,76 @@
|
||||
|
||||
ZB.MOM.WW.OtOpcUa.Analyzers -> /Users/dohertj2/Desktop/OtOpcUa/src/Tooling/ZB.MOM.WW.OtOpcUa.Analyzers/bin/Debug/netstandard2.0/ZB.MOM.WW.OtOpcUa.Analyzers.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Abstractions/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.Abstractions.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Commons -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Commons/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Commons.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.dll
|
||||
ZB.MOM.WW.OtOpcUa.Cluster -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Cluster/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Cluster.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.Scripting -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.VirtualTags -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.VirtualTags/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll
|
||||
ZB.MOM.WW.OtOpcUa.Configuration -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Configuration/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Configuration.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.dll
|
||||
ZB.MOM.WW.OtOpcUa.Security -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Security/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Security.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Sql -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Galaxy -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.dll
|
||||
ZB.MOM.WW.OtOpcUa.OpcUaServer -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.OpcUaServer.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Heidenhain -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.FOCAS -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.AbLegacy -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.MTConnect -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.AbCip -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbCip.dll
|
||||
ZB.MOM.WW.OtOpcUa.ControlPlane -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.ControlPlane/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.ControlPlane.dll
|
||||
ZB.MOM.WW.OtOpcUa.Runtime -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Runtime/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Runtime.dll
|
||||
ZB.MOM.WW.OtOpcUa.AdminUI -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.dll
|
||||
ZB.MOM.WW.OtOpcUa.AdminUI.Tests -> /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll
|
||||
Test run for /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (.NETCoreApp,Version=v10.0)
|
||||
A total of 1 test files matched the specified pattern.
|
||||
[xUnit.net 00:00:01.55] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonTreeAccessibilityTests.BrowseTree_ExpandedFilterAndLeafHaveContextualNames [FAIL]
|
||||
[xUnit.net 00:00:01.55] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonTreeAccessibilityTests.ScopeTree_ExpandAndSelectionExposeVisibleNodeState [FAIL]
|
||||
Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonTreeAccessibilityTests.BrowseTree_ExpandedFilterAndLeafHaveContextualNames [176 ms]
|
||||
Error Message:
|
||||
Shouldly.ShouldAssertException : expand.GetAttribute("aria-label")
|
||||
should be
|
||||
"Expand Fixture folder"
|
||||
but was
|
||||
null
|
||||
Stack Trace:
|
||||
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonTreeAccessibilityTests.BrowseTree_ExpandedFilterAndLeafHaveContextualNames() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/CommonTreeAccessibilityTests.cs:line 25
|
||||
at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
|
||||
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
|
||||
Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonTreeAccessibilityTests.ScopeTree_ExpandAndSelectionExposeVisibleNodeState [4 ms]
|
||||
Error Message:
|
||||
Shouldly.ShouldAssertException : cut.Find("button.tree-twist").GetAttribute("aria-label")
|
||||
should be
|
||||
"Expand Fixture scope"
|
||||
but was
|
||||
null
|
||||
Stack Trace:
|
||||
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonTreeAccessibilityTests.ScopeTree_ExpandAndSelectionExposeVisibleNodeState() in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/CommonTreeAccessibilityTests.cs:line 37
|
||||
at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
|
||||
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
|
||||
|
||||
Failed! - Failed: 2, Passed: 0, Skipped: 0, Total: 2, Duration: 188 ms - ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (net10.0)
|
||||
@@ -0,0 +1,14 @@
|
||||
using System.Reflection;
|
||||
using System.Security.Claims;
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
/// <summary>Authenticated read-only fixture identity; no real authorization store.</summary>
|
||||
public sealed class CommonFixturePrincipal : AuthenticationStateProvider
|
||||
{
|
||||
public override Task<AuthenticationState> GetAuthenticationStateAsync() => Task.FromResult(new AuthenticationState(
|
||||
new ClaimsPrincipal(new ClaimsIdentity([new(ClaimTypes.Name,"fixture-reader"),new(ClaimTypes.Role,"Reader")],"fixture"))));
|
||||
}
|
||||
/// <summary>Every external browse/connection operation is refused.</summary>
|
||||
public class CommonRefusingBrowser : DispatchProxy
|
||||
{
|
||||
protected override object? Invoke(MethodInfo? method,object?[]? args) => throw new NotSupportedException("Common field fixture refuses "+method?.Name);
|
||||
}
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
@page "/common"
|
||||
@rendermode InteractiveServer
|
||||
@using ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers
|
||||
@using ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.Pickers
|
||||
<main class="container-fluid p-3"><h1>Common field fixture</h1><p>Synthetic read-only fixture; no connection operations.</p><output id="interactive">@_ready</output>
|
||||
<EditForm EditContext="_context" OnSubmit="IgnoreSubmit">
|
||||
@foreach(var type in Types)
|
||||
{
|
||||
@for(int copy=0;copy<2;copy++)
|
||||
{
|
||||
var key=type.Name+copy;
|
||||
<section data-common="@type.Name" data-copy="@copy" @key="key"><h2>@type.Name · instance @copy</h2><DynamicComponent Type="type" Parameters="Values(type)" /></section>
|
||||
}
|
||||
}
|
||||
</EditForm></main>
|
||||
@code {
|
||||
private readonly EditContext _context=new(new object());
|
||||
private bool _ready;
|
||||
protected override void OnAfterRender(bool firstRender){if(firstRender){_ready=true;StateHasChanged();}}
|
||||
private static readonly Type[] Types=[typeof(DriverIdentitySection),typeof(DriverResilienceSection),typeof(AbCipAddressPickerBody),typeof(AbLegacyAddressPickerBody),typeof(FOCASAddressPickerBody),typeof(GalaxyAddressPickerBody),typeof(ModbusAddressPickerBody),typeof(OpcUaClientAddressPickerBody),typeof(S7AddressPickerBody),typeof(SqlAddressPickerBody),typeof(TwinCATAddressPickerBody)];
|
||||
private static Dictionary<string,object> Values(Type type)=>type==typeof(DriverIdentitySection)
|
||||
?new(){["Model"]=new DriverIdentitySection.DriverIdentityModel(),["IsNew"]=true,["ShowDriverType"]=true}:new();
|
||||
private void IgnoreSubmit(EditContext context){}
|
||||
}
|
||||
@@ -2,6 +2,9 @@ using DeviceFormCanary.Components;
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
builder.WebHost.UseStaticWebAssets();
|
||||
builder.Services.AddSingleton(System.Reflection.DispatchProxy.Create<ZB.MOM.WW.OtOpcUa.AdminUI.Uns.IUnsTreeService, ProtocolReadOnlyProxy>());
|
||||
builder.Services.AddAuthorizationCore(options => options.AddPolicy(ZB.MOM.WW.OtOpcUa.Security.Auth.AdminUiPolicies.DriverOperator, policy => policy.RequireRole("Operator", "Administrator")));
|
||||
builder.Services.AddSingleton<Microsoft.AspNetCore.Components.Authorization.AuthenticationStateProvider, CommonFixturePrincipal>();
|
||||
builder.Services.AddSingleton(System.Reflection.DispatchProxy.Create<ZB.MOM.WW.OtOpcUa.AdminUI.Browsing.IBrowserSessionService, CommonRefusingBrowser>());
|
||||
builder.Services.AddRazorComponents().AddInteractiveServerComponents();
|
||||
var app = builder.Build();
|
||||
app.UseAntiforgery();
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
<div @key="node.Key" class="d-flex align-items-center gap-1 py-1" style="@indent">
|
||||
@if (hasExpander)
|
||||
{
|
||||
<button type="button" class="btn btn-sm btn-link p-0 tree-twist"
|
||||
<button type="button" class="btn btn-sm btn-link p-0 tree-twist" aria-label="@((node.Expanded ? "Collapse " : "Expand ") + node.DisplayName)" aria-expanded="@(node.Expanded ? "true" : "false")"
|
||||
@onclick="@(() => ToggleAsync(node))">
|
||||
@(node.Expanded ? "▼" : "▶")
|
||||
</button>
|
||||
@@ -48,7 +48,7 @@
|
||||
|
||||
@if (node.Selectable)
|
||||
{
|
||||
<button type="button"
|
||||
<button type="button" aria-pressed="@(selected ? "true" : "false")"
|
||||
class="btn btn-sm p-0 px-1 border-0 d-inline-flex align-items-center gap-1 @(selected ? "bg-primary text-white rounded" : "btn-link text-decoration-none")"
|
||||
@onclick="@(() => OnSelect.InvokeAsync(node))">
|
||||
<span aria-hidden="true">@node.Icon</span>
|
||||
|
||||
+3
-3
@@ -132,7 +132,7 @@
|
||||
<div class="d-flex align-items-center gap-1 py-1 @selectedCls" style="@indent">
|
||||
@if (item.Node.Kind == BrowseNodeKind.Folder && item.Node.HasChildrenHint)
|
||||
{
|
||||
<button type="button" class="btn btn-sm btn-link p-0 tree-twist"
|
||||
<button type="button" class="btn btn-sm btn-link p-0 tree-twist" aria-label="@((item.Expanded ? "Collapse " : "Expand ") + item.Node.DisplayName)" aria-expanded="@(item.Expanded ? "true" : "false")"
|
||||
@onclick="@(() => ToggleAsync(item))">
|
||||
@(item.Expanded ? "▼" : "▶")
|
||||
</button>
|
||||
@@ -153,7 +153,7 @@
|
||||
required clicking a label rather than the ▶ toggle (a button, which always worked). *@
|
||||
@if (isMultiLeaf)
|
||||
{
|
||||
<input type="checkbox" class="form-check-input" checked="@IsLeafSelected(item.Node.NodeId)"
|
||||
<input aria-label="@("Select " + item.Node.DisplayName)" type="checkbox" class="form-check-input" checked="@IsLeafSelected(item.Node.NodeId)"
|
||||
@onchange="@(() => ToggleLeafAsync(item, ancestorPath))" />
|
||||
<button type="button" @onclick="@(() => ToggleLeafAsync(item, ancestorPath))"
|
||||
class="btn btn-link btn-sm p-0 text-decoration-none mono small text-start">@item.Node.DisplayName</button>
|
||||
@@ -182,7 +182,7 @@
|
||||
}
|
||||
else if (item.Expanded && item.Loaded && item.Children is { Count: > 0 })
|
||||
{
|
||||
<input type="text" class="form-control form-control-sm mt-1"
|
||||
<input aria-label="@("Filter children of " + item.Node.DisplayName)" type="text" class="form-control form-control-sm mt-1"
|
||||
placeholder="filter children..."
|
||||
style="@($"width:calc(100% - {(depth + 2) * 18}px); margin-left:{(depth + 2) * 18}px")"
|
||||
@bind="item.Filter" @bind:event="oninput" />
|
||||
|
||||
+1
-1
@@ -27,7 +27,7 @@
|
||||
anywhere. Offering an operator a control that silently does nothing is worse than not
|
||||
offering it. *@
|
||||
|
||||
<div class="table-wrap mt-3">
|
||||
<div class="table-wrap mt-3" role="region" aria-label="Resilience overrides" tabindex="0">
|
||||
<table class="data-table">
|
||||
<thead><tr><th scope="col">Capability</th><th scope="col" id="@FieldId("timeout")">Timeout (s)</th><th scope="col" id="@FieldId("retries")">Retries</th><th scope="col" id="@FieldId("breaker")">Breaker threshold</th></tr></thead>
|
||||
<tbody>
|
||||
|
||||
+12
-8
@@ -12,22 +12,22 @@
|
||||
|
||||
<div class="row g-3">
|
||||
<div class="col-md-6">
|
||||
<label class="form-label">Tag name</label>
|
||||
<input type="text" class="form-control form-control-sm mono" placeholder="Program:Main.MyTag"
|
||||
<label for="@FieldId("field-01")" class="form-label">Tag name</label>
|
||||
<input aria-describedby="@FieldIds("field-01-hint")" id="@FieldId("field-01")" type="text" class="form-control form-control-sm mono" placeholder="Program:Main.MyTag"
|
||||
@bind="_tagName" @bind:after="OnChangedAsync" />
|
||||
<div class="form-text">Use dot notation for nested tags or UDT members.</div>
|
||||
<div id="@FieldId("field-01-hint")" class="form-text">Use dot notation for nested tags or UDT members.</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label class="form-label">Element index (optional)</label>
|
||||
<input type="number" class="form-control form-control-sm" min="0"
|
||||
<label for="@FieldId("field-02")" class="form-label">Element index (optional)</label>
|
||||
<input aria-describedby="@FieldIds("field-02-hint")" id="@FieldId("field-02")" type="number" class="form-control form-control-sm" min="0"
|
||||
@bind="_elementIndex" @bind:after="OnChangedAsync" />
|
||||
<div class="form-text">Leave 0 for non-array tags (no index appended).</div>
|
||||
<div id="@FieldId("field-02-hint")" class="form-text">Leave 0 for non-array tags (no index appended).</div>
|
||||
</div>
|
||||
<div class="col-md-3 d-flex align-items-end">
|
||||
<div class="form-check mb-2">
|
||||
<input type="checkbox" class="form-check-input" id="abCipUseIdx"
|
||||
<input type="checkbox" class="form-check-input" id="@FieldId("abCipUseIdx")"
|
||||
@bind="_useIndex" @bind:after="OnChangedAsync" />
|
||||
<label class="form-check-label" for="abCipUseIdx">Append index</label>
|
||||
<label class="form-check-label" for="@FieldId("abCipUseIdx")">Append index</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -76,6 +76,10 @@
|
||||
</div>
|
||||
|
||||
@code {
|
||||
private readonly string _fieldScope = "ab-cip-address-picker-body-" + Guid.NewGuid().ToString("N");
|
||||
private string FieldIds(params string[] names) => string.Join(" ", names.Select(FieldId));
|
||||
private string FieldId(string name) => $"{_fieldScope}-{name}";
|
||||
|
||||
[Parameter] public string CurrentAddress { get; set; } = "";
|
||||
[Parameter] public EventCallback<string> CurrentAddressChanged { get; set; }
|
||||
/// <summary>Driver type used to open a universal browse session (defaults to AbCip).</summary>
|
||||
|
||||
+17
-14
@@ -23,8 +23,8 @@
|
||||
|
||||
<div class="row g-3">
|
||||
<div class="col-md-3">
|
||||
<label class="form-label">Address space</label>
|
||||
<select class="form-select form-select-sm" @bind="_kind" @bind:after="OnChangedAsync">
|
||||
<label for="@FieldId("field-01")" class="form-label">Address space</label>
|
||||
<select id="@FieldId("field-01")" class="form-select form-select-sm" @bind="_kind" @bind:after="OnChangedAsync">
|
||||
<option value="@FocasManualAddressKind.Pmc">PMC</option>
|
||||
<option value="@FocasManualAddressKind.Parameter">CNC parameter</option>
|
||||
<option value="@FocasManualAddressKind.Macro">Macro variable</option>
|
||||
@@ -36,8 +36,8 @@
|
||||
@* Gitea #647: an ALARM: selector — one Part 9 condition per tag. The tag must also carry the native-alarm
|
||||
object (alarm section of the tag modal), or it is neither a condition nor a value. *@
|
||||
<div class="col-md-3">
|
||||
<label class="form-label">Alarms</label>
|
||||
<select class="form-select form-select-sm" @bind="_alarmScope" @bind:after="OnChangedAsync">
|
||||
<label for="@FieldId("field-02")" class="form-label">Alarms</label>
|
||||
<select id="@FieldId("field-02")" class="form-select form-select-sm" @bind="_alarmScope" @bind:after="OnChangedAsync">
|
||||
@foreach (var scope in FocasAddressBuilder.AlarmScopes)
|
||||
{
|
||||
<option value="@scope">@(scope == "*" ? "* (any on device)" : scope == "OTHER" ? "OTHER (unmatched)" : scope)</option>
|
||||
@@ -47,13 +47,13 @@
|
||||
@if (_alarmScope is not ("*" or "OTHER"))
|
||||
{
|
||||
<div class="col-md-3">
|
||||
<label class="form-label">Number <span class="text-muted small">(optional)</span></label>
|
||||
<input type="number" class="form-control form-control-sm" min="0" placeholder="any"
|
||||
<label for="@FieldId("field-03")" class="form-label">Number <span class="text-muted small">(optional)</span></label>
|
||||
<input id="@FieldId("field-03")" type="number" class="form-control form-control-sm" min="0" placeholder="any"
|
||||
@bind="_alarmLow" @bind:after="OnChangedAsync" />
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label class="form-label">to <span class="text-muted small">(optional)</span></label>
|
||||
<input type="number" class="form-control form-control-sm" min="0" placeholder="single"
|
||||
<label for="@FieldId("field-04")" class="form-label">Through number <span class="text-muted small">(optional)</span></label>
|
||||
<input id="@FieldId("field-04")" type="number" class="form-control form-control-sm" min="0" placeholder="single"
|
||||
@bind="_alarmHigh" @bind:after="OnChangedAsync" />
|
||||
</div>
|
||||
}
|
||||
@@ -65,8 +65,8 @@
|
||||
else if (_kind == FocasManualAddressKind.Pmc)
|
||||
{
|
||||
<div class="col-md-2">
|
||||
<label class="form-label">Area</label>
|
||||
<select class="form-select form-select-sm" @bind="_pmcLetter" @bind:after="OnChangedAsync">
|
||||
<label for="@FieldId("field-05")" class="form-label">Area</label>
|
||||
<select id="@FieldId("field-05")" class="form-select form-select-sm" @bind="_pmcLetter" @bind:after="OnChangedAsync">
|
||||
@foreach (var letter in FocasAddressBuilder.PmcLetters)
|
||||
{
|
||||
<option value="@letter">@letter</option>
|
||||
@@ -77,18 +77,18 @@
|
||||
@if (_kind != FocasManualAddressKind.Alarm)
|
||||
{
|
||||
<div class="col-md-3">
|
||||
<label class="form-label">@(_kind == FocasManualAddressKind.Pmc ? "Byte" : "Number")</label>
|
||||
<input type="number" class="form-control form-control-sm" min="0"
|
||||
<label for="@FieldId("field-06")" class="form-label">@(_kind == FocasManualAddressKind.Pmc ? "Byte" : "Number")</label>
|
||||
<input id="@FieldId("field-06")" type="number" class="form-control form-control-sm" min="0"
|
||||
@bind="_number" @bind:after="OnChangedAsync" />
|
||||
</div>
|
||||
}
|
||||
@if (_kind is not (FocasManualAddressKind.Macro or FocasManualAddressKind.Alarm))
|
||||
{
|
||||
<div class="col-md-3">
|
||||
<label class="form-label">
|
||||
<label for="@FieldId("field-07")" class="form-label">
|
||||
Bit <span class="text-muted small">(optional, @(_kind == FocasManualAddressKind.Pmc ? "0-7" : "0-31"))</span>
|
||||
</label>
|
||||
<input type="number" class="form-control form-control-sm" min="0"
|
||||
<input id="@FieldId("field-07")" type="number" class="form-control form-control-sm" min="0"
|
||||
max="@(_kind == FocasManualAddressKind.Pmc ? 7 : 31)"
|
||||
placeholder="whole word"
|
||||
@bind="_bitIndex" @bind:after="OnChangedAsync" />
|
||||
@@ -147,6 +147,9 @@
|
||||
</div>
|
||||
|
||||
@code {
|
||||
private readonly string _fieldScope = "f-o-c-a-s-address-picker-body-" + Guid.NewGuid().ToString("N");
|
||||
private string FieldId(string name) => $"{_fieldScope}-{name}";
|
||||
|
||||
[Parameter] public string CurrentAddress { get; set; } = "";
|
||||
[Parameter] public EventCallback<string> CurrentAddressChanged { get; set; }
|
||||
/// <summary>Driver type used to open a universal browse session (defaults to FOCAS).</summary>
|
||||
|
||||
+10
-6
@@ -13,16 +13,16 @@
|
||||
|
||||
<div class="row g-3">
|
||||
<div class="col-md-5">
|
||||
<label class="form-label">Tag name</label>
|
||||
<input type="text" class="form-control form-control-sm mono" placeholder="DelmiaReceiver_001"
|
||||
<label for="@FieldId("field-01")" class="form-label">Tag name</label>
|
||||
<input aria-describedby="@FieldIds("field-01-hint")" id="@FieldId("field-01")" type="text" class="form-control form-control-sm mono" placeholder="DelmiaReceiver_001"
|
||||
@bind="_tagName" @bind:after="OnManualChangedAsync" />
|
||||
<div class="form-text">Globally unique system (tag) name.</div>
|
||||
<div id="@FieldId("field-01-hint")" class="form-text">Globally unique system (tag) name.</div>
|
||||
</div>
|
||||
<div class="col-md-5">
|
||||
<label class="form-label">Attribute name</label>
|
||||
<input type="text" class="form-control form-control-sm mono" placeholder="DownloadPath"
|
||||
<label for="@FieldId("field-02")" class="form-label">Attribute name</label>
|
||||
<input aria-describedby="@FieldIds("field-02-hint")" id="@FieldId("field-02")" type="text" class="form-control form-control-sm mono" placeholder="DownloadPath"
|
||||
@bind="_attributeName" @bind:after="OnManualChangedAsync" />
|
||||
<div class="form-text">MXAccess attribute name.</div>
|
||||
<div id="@FieldId("field-02-hint")" class="form-text">MXAccess attribute name.</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -96,6 +96,10 @@
|
||||
</div>
|
||||
|
||||
@code {
|
||||
private readonly string _fieldScope = "galaxy-address-picker-body-" + Guid.NewGuid().ToString("N");
|
||||
private string FieldIds(params string[] names) => string.Join(" ", names.Select(FieldId));
|
||||
private string FieldId(string name) => $"{_fieldScope}-{name}";
|
||||
|
||||
[Parameter] public string CurrentAddress { get; set; } = "";
|
||||
[Parameter] public EventCallback<string> CurrentAddressChanged { get; set; }
|
||||
[Parameter, EditorRequired] public Func<string> GetConfigJson { get; set; } = () => "{}";
|
||||
|
||||
+7
-3
@@ -11,11 +11,11 @@
|
||||
|
||||
<div class="row g-3">
|
||||
<div class="col-md-10">
|
||||
<label class="form-label">NodeId</label>
|
||||
<input type="text" class="form-control form-control-sm mono"
|
||||
<label for="@FieldId("field-01")" class="form-label">NodeId</label>
|
||||
<input aria-describedby="@FieldIds("field-01-hint")" id="@FieldId("field-01")" type="text" class="form-control form-control-sm mono"
|
||||
placeholder="ns=2;s=Channel.Device.Tag"
|
||||
@bind="_nodeId" @bind:after="OnChangedAsync" />
|
||||
<div class="form-text">
|
||||
<div id="@FieldId("field-01-hint")" class="form-text">
|
||||
OPC UA NodeId string, e.g. <code>ns=2;s=Channel.Device.Tag</code> or
|
||||
<code>i=1001</code>. Use Browse to navigate the remote server.
|
||||
</div>
|
||||
@@ -58,6 +58,10 @@
|
||||
</div>
|
||||
|
||||
@code {
|
||||
private readonly string _fieldScope = "opc-ua-client-address-picker-body-" + Guid.NewGuid().ToString("N");
|
||||
private string FieldIds(params string[] names) => string.Join(" ", names.Select(FieldId));
|
||||
private string FieldId(string name) => $"{_fieldScope}-{name}";
|
||||
|
||||
[Parameter] public string CurrentAddress { get; set; } = "";
|
||||
[Parameter] public EventCallback<string> CurrentAddressChanged { get; set; }
|
||||
[Parameter, EditorRequired] public Func<string> GetConfigJson { get; set; } = () => "{}";
|
||||
|
||||
+37
-33
@@ -26,31 +26,31 @@
|
||||
|
||||
<div class="row g-3">
|
||||
<div class="col-md-4">
|
||||
<label class="form-label">Model</label>
|
||||
<select class="form-select form-select-sm" @bind="_model" @bind:after="OnManualChangedAsync">
|
||||
<label for="@FieldId("field-01")" class="form-label">Model</label>
|
||||
<select aria-describedby="@FieldIds("field-01-hint")" id="@FieldId("field-01")" class="form-select form-select-sm" @bind="_model" @bind:after="OnManualChangedAsync">
|
||||
<option value="KeyValue">KeyValue</option>
|
||||
<option value="WideRow">WideRow</option>
|
||||
</select>
|
||||
<div class="form-text">
|
||||
<div id="@FieldId("field-01-hint")" class="form-text">
|
||||
KeyValue: one row per key. WideRow: many columns of one selected row.
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-5">
|
||||
<label class="form-label">Table or view</label>
|
||||
<input type="text" class="form-control form-control-sm mono" placeholder="dbo.TagValues"
|
||||
<label for="@FieldId("field-02")" class="form-label">Table or view</label>
|
||||
<input aria-describedby="@FieldIds("field-02-hint")" id="@FieldId("field-02")" type="text" class="form-control form-control-sm mono" placeholder="dbo.TagValues"
|
||||
@bind="_table" @bind:after="OnManualChangedAsync" />
|
||||
<div class="form-text">Schema-qualified, e.g. <code>dbo.TagValues</code>.</div>
|
||||
<div id="@FieldId("field-02-hint")" class="form-text">Schema-qualified, e.g. <code>dbo.TagValues</code>.</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label class="form-label">Type</label>
|
||||
<select class="form-select form-select-sm" @bind="_type" @bind:after="OnManualChangedAsync">
|
||||
<label for="@FieldId("field-03")" class="form-label">Type</label>
|
||||
<select aria-describedby="@FieldIds("field-03-hint")" id="@FieldId("field-03")" class="form-select form-select-sm" @bind="_type" @bind:after="OnManualChangedAsync">
|
||||
<option value="">(infer)</option>
|
||||
@foreach (var t in Enum.GetValues<DriverDataType>())
|
||||
{
|
||||
<option value="@t">@t</option>
|
||||
}
|
||||
</select>
|
||||
<div class="form-text">Blank ⇒ inferred from the column.</div>
|
||||
<div id="@FieldId("field-03-hint")" class="form-text">Blank ⇒ inferred from the column.</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -58,19 +58,19 @@
|
||||
{
|
||||
<div class="row g-3 mt-1">
|
||||
<div class="col-md-4">
|
||||
<label class="form-label">Key column</label>
|
||||
<input type="text" class="form-control form-control-sm mono" placeholder="tag_name"
|
||||
<label for="@FieldId("field-04")" class="form-label">Key column</label>
|
||||
<input id="@FieldId("field-04")" type="text" class="form-control form-control-sm mono" placeholder="tag_name"
|
||||
@bind="_keyColumn" @bind:after="OnManualChangedAsync" />
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<label class="form-label">Key value</label>
|
||||
<input type="text" class="form-control form-control-sm mono" placeholder="Line1.Speed"
|
||||
<label for="@FieldId("field-05")" class="form-label">Key value</label>
|
||||
<input aria-describedby="@FieldIds("field-05-hint")" id="@FieldId("field-05")" type="text" class="form-control form-control-sm mono" placeholder="Line1.Speed"
|
||||
@bind="_keyValue" @bind:after="OnManualChangedAsync" />
|
||||
<div class="form-text">Bound as a parameter — never interpolated.</div>
|
||||
<div id="@FieldId("field-05-hint")" class="form-text">Bound as a parameter — never interpolated.</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<label class="form-label">Value column</label>
|
||||
<input type="text" class="form-control form-control-sm mono" placeholder="num_value"
|
||||
<label for="@FieldId("field-06")" class="form-label">Value column</label>
|
||||
<input id="@FieldId("field-06")" type="text" class="form-control form-control-sm mono" placeholder="num_value"
|
||||
@bind="_valueColumn" @bind:after="OnManualChangedAsync" />
|
||||
</div>
|
||||
</div>
|
||||
@@ -79,14 +79,14 @@ else
|
||||
{
|
||||
<div class="row g-3 mt-1">
|
||||
<div class="col-md-4">
|
||||
<label class="form-label">Value column</label>
|
||||
<input type="text" class="form-control form-control-sm mono" placeholder="oven_temp"
|
||||
<label for="@FieldId("field-07")" class="form-label">Value column</label>
|
||||
<input aria-describedby="@FieldIds("field-07-hint")" id="@FieldId("field-07")" type="text" class="form-control form-control-sm mono" placeholder="oven_temp"
|
||||
@bind="_columnName" @bind:after="OnManualChangedAsync" />
|
||||
<div class="form-text">The column this tag reads from the selected row.</div>
|
||||
<div id="@FieldId("field-07-hint")" class="form-text">The column this tag reads from the selected row.</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<label class="form-label">Row selector</label>
|
||||
<select class="form-select form-select-sm" @bind="_selectorMode" @bind:after="OnManualChangedAsync">
|
||||
<label for="@FieldId("field-08")" class="form-label">Row selector</label>
|
||||
<select id="@FieldId("field-08")" class="form-select form-select-sm" @bind="_selectorMode" @bind:after="OnManualChangedAsync">
|
||||
<option value="Where">Where column = value</option>
|
||||
<option value="Newest">Newest by timestamp</option>
|
||||
</select>
|
||||
@@ -94,21 +94,21 @@ else
|
||||
@if (_selectorMode == "Where")
|
||||
{
|
||||
<div class="col-md-2">
|
||||
<label class="form-label">Where column</label>
|
||||
<input type="text" class="form-control form-control-sm mono" placeholder="station_id"
|
||||
<label for="@FieldId("field-09")" class="form-label">Where column</label>
|
||||
<input id="@FieldId("field-09")" type="text" class="form-control form-control-sm mono" placeholder="station_id"
|
||||
@bind="_whereColumn" @bind:after="OnManualChangedAsync" />
|
||||
</div>
|
||||
<div class="col-md-2">
|
||||
<label class="form-label">Where value</label>
|
||||
<input type="text" class="form-control form-control-sm mono" placeholder="7"
|
||||
<label for="@FieldId("field-10")" class="form-label">Where value</label>
|
||||
<input id="@FieldId("field-10")" type="text" class="form-control form-control-sm mono" placeholder="7"
|
||||
@bind="_whereValue" @bind:after="OnManualChangedAsync" />
|
||||
</div>
|
||||
}
|
||||
else
|
||||
{
|
||||
<div class="col-md-4">
|
||||
<label class="form-label">Order-by (timestamp) column</label>
|
||||
<input type="text" class="form-control form-control-sm mono" placeholder="sample_ts"
|
||||
<label for="@FieldId("field-11")" class="form-label">Order-by (timestamp) column</label>
|
||||
<input id="@FieldId("field-11")" type="text" class="form-control form-control-sm mono" placeholder="sample_ts"
|
||||
@bind="_topByTimestamp" @bind:after="OnManualChangedAsync" />
|
||||
</div>
|
||||
}
|
||||
@@ -117,10 +117,10 @@ else
|
||||
|
||||
<div class="row g-3 mt-1">
|
||||
<div class="col-md-6">
|
||||
<label class="form-label">Timestamp column <span class="text-muted small">(optional)</span></label>
|
||||
<input type="text" class="form-control form-control-sm mono" placeholder="sample_ts"
|
||||
<label for="@FieldId("field-12")" class="form-label">Timestamp column <span class="text-muted small">(optional)</span></label>
|
||||
<input aria-describedby="@FieldIds("field-12-hint")" id="@FieldId("field-12")" type="text" class="form-control form-control-sm mono" placeholder="sample_ts"
|
||||
@bind="_timestampColumn" @bind:after="OnManualChangedAsync" />
|
||||
<div class="form-text">Source-timestamp column; blank ⇒ the driver stamps the poll time.</div>
|
||||
<div id="@FieldId("field-12-hint")" class="form-text">Source-timestamp column; blank ⇒ the driver stamps the poll time.</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -129,11 +129,11 @@ else
|
||||
<hr class="my-3" />
|
||||
<div class="row g-3">
|
||||
<div class="col-md-12">
|
||||
<label class="form-label small">Ad-hoc connection string <span class="text-muted">(session-only, never saved)</span></label>
|
||||
<input type="password" class="form-control form-control-sm mono" autocomplete="off"
|
||||
<label for="@FieldId("field-13")" class="form-label small">Ad-hoc connection string <span class="text-muted">(session-only, never saved)</span></label>
|
||||
<input aria-describedby="@FieldIds("field-13-hint")" id="@FieldId("field-13")" type="password" class="form-control form-control-sm mono" autocomplete="off"
|
||||
placeholder="Server=…;Database=…;User Id=…;Password=…"
|
||||
@bind="_adhocConnectionString" />
|
||||
<div class="form-text">
|
||||
<div id="@FieldId("field-13-hint")" class="form-text">
|
||||
Leave blank to browse via the driver's <code>connectionStringRef</code> (resolved from
|
||||
the AdminUI host's <code>Sql__ConnectionStrings__<ref></code> env var). Paste a
|
||||
literal only for a one-off browse — it is used for this session and never persisted.
|
||||
@@ -209,6 +209,10 @@ else
|
||||
</div>
|
||||
|
||||
@code {
|
||||
private readonly string _fieldScope = "sql-address-picker-body-" + Guid.NewGuid().ToString("N");
|
||||
private string FieldIds(params string[] names) => string.Join(" ", names.Select(FieldId));
|
||||
private string FieldId(string name) => $"{_fieldScope}-{name}";
|
||||
|
||||
[Parameter] public string CurrentAddress { get; set; } = "";
|
||||
[Parameter] public EventCallback<string> CurrentAddressChanged { get; set; }
|
||||
|
||||
|
||||
+7
-3
@@ -12,10 +12,10 @@
|
||||
|
||||
<div class="row g-3">
|
||||
<div class="col-md-8">
|
||||
<label class="form-label">ADS variable name</label>
|
||||
<input type="text" class="form-control form-control-sm mono" placeholder="MAIN.fValue"
|
||||
<label for="@FieldId("field-01")" class="form-label">ADS variable name</label>
|
||||
<input aria-describedby="@FieldIds("field-01-hint")" id="@FieldId("field-01")" type="text" class="form-control form-control-sm mono" placeholder="MAIN.fValue"
|
||||
@bind="_varName" @bind:after="OnChangedAsync" />
|
||||
<div class="form-text">
|
||||
<div id="@FieldId("field-01-hint")" class="form-text">
|
||||
Full ADS symbol path, e.g. <code>MAIN.fValue</code> or <code>GVL.iCounter</code>.
|
||||
</div>
|
||||
</div>
|
||||
@@ -65,6 +65,10 @@
|
||||
</div>
|
||||
|
||||
@code {
|
||||
private readonly string _fieldScope = "twin-c-a-t-address-picker-body-" + Guid.NewGuid().ToString("N");
|
||||
private string FieldIds(params string[] names) => string.Join(" ", names.Select(FieldId));
|
||||
private string FieldId(string name) => $"{_fieldScope}-{name}";
|
||||
|
||||
[Parameter] public string CurrentAddress { get; set; } = "";
|
||||
[Parameter] public EventCallback<string> CurrentAddressChanged { get; set; }
|
||||
/// <summary>Driver type used to open a universal browse session (defaults to TwinCAT).</summary>
|
||||
|
||||
+71
-1
@@ -1,5 +1,10 @@
|
||||
using AngleSharp.Dom;
|
||||
using Bunit;
|
||||
using Bunit.TestDoubles;
|
||||
using System.Reflection;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using ZB.MOM.WW.OtOpcUa.AdminUI.Browsing;
|
||||
using ZB.MOM.WW.OtOpcUa.Security.Auth;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
using Shouldly;
|
||||
@@ -13,13 +18,66 @@ namespace ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages;
|
||||
[Trait("Category", "Unit")]
|
||||
public sealed class CommonControlAccessibilityTests : BunitContext
|
||||
{
|
||||
private readonly Action _allowBrowse;
|
||||
private readonly RefusingBrowserProxy _browser;
|
||||
|
||||
public CommonControlAccessibilityTests()
|
||||
{
|
||||
var auth = this.AddAuthorization(); auth.SetAuthorized("fixture-reader");
|
||||
_allowBrowse = () => auth.SetPolicies(AdminUiPolicies.DriverOperator);
|
||||
var browser = DispatchProxy.Create<IBrowserSessionService, RefusingBrowserProxy>();
|
||||
_browser = (RefusingBrowserProxy)(object)browser;
|
||||
Services.AddSingleton(browser);
|
||||
}
|
||||
|
||||
[Theory]
|
||||
[InlineData(typeof(AbCipAddressPickerBody))]
|
||||
[InlineData(typeof(TwinCATAddressPickerBody))]
|
||||
[InlineData(typeof(FOCASAddressPickerBody))]
|
||||
[InlineData(typeof(GalaxyAddressPickerBody))]
|
||||
[InlineData(typeof(SqlAddressPickerBody))]
|
||||
[InlineData(typeof(OpcUaClientAddressPickerBody))]
|
||||
[InlineData(typeof(ModbusAddressPickerBody))]
|
||||
[InlineData(typeof(AbLegacyAddressPickerBody))]
|
||||
[InlineData(typeof(S7AddressPickerBody))]
|
||||
[InlineData(typeof(DriverIdentitySection))]
|
||||
[InlineData(typeof(DriverResilienceSection))]
|
||||
public void CommonFields_TwoInstancesHaveResolvedNames(Type type)
|
||||
{
|
||||
AssertRelationships(RenderFields(type));
|
||||
_browser.Calls.ShouldBe(0);
|
||||
}
|
||||
|
||||
/// <summary>Operator-only drafts and conditional address spaces remain named without opening a session.</summary>
|
||||
[Theory]
|
||||
[InlineData(typeof(SqlAddressPickerBody), "WideRow")]
|
||||
[InlineData(typeof(FOCASAddressPickerBody), "Alarm")]
|
||||
[InlineData(typeof(FOCASAddressPickerBody), "Parameter")]
|
||||
[InlineData(typeof(FOCASAddressPickerBody), "Macro")]
|
||||
public void ConditionalPickerFields_RemainNamedWithoutBrowserOperations(Type type,string branch)
|
||||
{
|
||||
_allowBrowse();
|
||||
var cut=RenderFields(type);
|
||||
cut.Find("select").Change(branch);
|
||||
AssertRelationships(cut);
|
||||
if (type == typeof(SqlAddressPickerBody))
|
||||
{
|
||||
var label=cut.FindAll("label").First(e=>e.TextContent.Trim()=="Row selector");
|
||||
cut.FindAll("select").Single(e=>e.Id==label.GetAttribute("for")).Change("Newest");
|
||||
AssertRelationships(cut);
|
||||
}
|
||||
if (type == typeof(FOCASAddressPickerBody) && branch == "Alarm")
|
||||
{
|
||||
var label=cut.FindAll("label").First(e=>e.TextContent.Trim()=="Alarms");
|
||||
var select=cut.FindAll("select").Single(e=>e.Id==label.GetAttribute("for"));
|
||||
select.Change(select.QuerySelectorAll("option").First(e=>e.GetAttribute("value") is not ("*" or "OTHER")).GetAttribute("value"));
|
||||
AssertRelationships(cut);
|
||||
cut.FindAll("label").ShouldContain(e=>e.TextContent.Contains("Through number"));
|
||||
}
|
||||
_browser.Calls.ShouldBe(0);
|
||||
}
|
||||
|
||||
private IRenderedComponent<CascadingValue<EditContext>> RenderFields(Type type)
|
||||
{
|
||||
var cut = Render<CascadingValue<EditContext>>(p => p.Add(x => x.Value,new EditContext(new object()))
|
||||
.Add(x => x.ChildContent,(RenderFragment)(builder =>
|
||||
@@ -35,7 +93,7 @@ public sealed class CommonControlAccessibilityTests : BunitContext
|
||||
builder.CloseComponent();
|
||||
}
|
||||
})));
|
||||
AssertRelationships(cut);
|
||||
return cut;
|
||||
}
|
||||
|
||||
private static void AssertRelationships(IRenderedComponent<CascadingValue<EditContext>> cut)
|
||||
@@ -55,4 +113,16 @@ public sealed class CommonControlAccessibilityTests : BunitContext
|
||||
foreach(var label in cut.FindAll("label[for]"))Find(cut,label.GetAttribute("for")!).ShouldNotBeNull();
|
||||
}
|
||||
private static IElement Find(IRenderedComponent<CascadingValue<EditContext>> cut,string id)=>cut.FindAll("[id]").Single(e=>e.Id==id);
|
||||
/// <summary>No browse session or external connection may be opened by a field fixture.</summary>
|
||||
public class RefusingBrowserProxy : DispatchProxy
|
||||
{
|
||||
public int Calls { get; private set; }
|
||||
protected override object? Invoke(MethodInfo? method, object?[]? args)
|
||||
{
|
||||
if (method?.Name == nameof(IBrowserSessionService.CanBrowse)) return true; // Static capability only; no session/connection.
|
||||
Calls++;
|
||||
throw new NotSupportedException("Field fixture refuses browser operations: " + method?.Name);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,53 @@
|
||||
using Bunit;
|
||||
using System.Reflection;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Shouldly;
|
||||
using Xunit;
|
||||
using ZB.MOM.WW.OtOpcUa.AdminUI.Acls;
|
||||
using ZB.MOM.WW.OtOpcUa.AdminUI.Browsing;
|
||||
using ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Acls;
|
||||
using ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers;
|
||||
using ZB.MOM.WW.OtOpcUa.Commons.Browsing;
|
||||
using ZB.MOM.WW.OtOpcUa.Configuration.Enums;
|
||||
|
||||
namespace ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages;
|
||||
|
||||
/// <summary>Tree names/states identify the actual scope or driver node without changing lazy loading.</summary>
|
||||
[Trait("Category","Unit")]
|
||||
public sealed class CommonTreeAccessibilityTests : BunitContext
|
||||
{
|
||||
[Fact]
|
||||
public void BrowseTree_ExpandedFilterAndLeafHaveContextualNames()
|
||||
{
|
||||
Services.AddSingleton(DispatchProxy.Create<IBrowserSessionService,SyntheticBrowser>());
|
||||
var cut=Render<DriverBrowseTree>(p=>p.Add(x=>x.SessionToken,Guid.NewGuid()).Add(x=>x.MultiSelect,true));
|
||||
var expand=cut.Find("button.tree-twist");
|
||||
expand.GetAttribute("aria-label").ShouldBe("Expand Fixture folder");
|
||||
expand.GetAttribute("aria-expanded").ShouldBe("false");expand.Click();
|
||||
cut.Find("button.tree-twist").GetAttribute("aria-expanded").ShouldBe("true");
|
||||
cut.Find("input[type=text]").GetAttribute("aria-label").ShouldBe("Filter children of Fixture folder");
|
||||
cut.Find("input[type=checkbox]").GetAttribute("aria-label").ShouldBe("Select Fixture leaf");
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void ScopeTree_ExpandAndSelectionExposeVisibleNodeState()
|
||||
{
|
||||
var node=new AclScopeNode {Key="one",DisplayName="Fixture scope",PathLabel="Fixture scope",Icon="x",ScopeKind=NodeAclScopeKind.Cluster,HasLazyChildren=true};
|
||||
var cut=Render<AclScopeTree>(p=>p.Add(x=>x.Nodes,new[]{node}).Add(x=>x.SelectedKey,"one"));
|
||||
cut.Find("button.tree-twist").GetAttribute("aria-label").ShouldBe("Expand Fixture scope");
|
||||
cut.Find("button[aria-pressed]").GetAttribute("aria-pressed").ShouldBe("true");
|
||||
cut.Find("button.tree-twist").Click();
|
||||
cut.Find("button.tree-twist").GetAttribute("aria-expanded").ShouldBe("true");
|
||||
}
|
||||
|
||||
/// <summary>Only synthetic root/child reads are supported; all connection and mutation calls fail.</summary>
|
||||
public class SyntheticBrowser : DispatchProxy
|
||||
{
|
||||
protected override object? Invoke(MethodInfo? method,object?[]? args)=>method?.Name switch
|
||||
{
|
||||
nameof(IBrowserSessionService.RootAsync)=>Task.FromResult<IReadOnlyList<BrowseNode>>([new("folder","Fixture folder",BrowseNodeKind.Folder,true)]),
|
||||
nameof(IBrowserSessionService.ExpandAsync)=>Task.FromResult<IReadOnlyList<BrowseNode>>([new("leaf","Fixture leaf",BrowseNodeKind.Leaf,false)]),
|
||||
_=>throw new NotSupportedException("Synthetic tree refuses "+method?.Name)
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user