Files
lmxopcua/docs/ui-consistency/ot13-host-controls/footer-capture-import-harness.log
T
2026-11-14 01:18:22 -05:00

40 lines
2.4 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
Traceback (most recent call last):
File "/Users/dohertj2/Desktop/OtOpcUa/docs/ui-consistency/ot13-host-controls/capture-footer-red.py", line 2, in <module>
import browser
File "/Users/dohertj2/Desktop/OtOpcUa/docs/ui-consistency/ot13-host-controls/browser.py", line 46, in <module>
c=b.new_context(viewport={'width':w,'height':900});case(c.new_page(),mode,str(w));c.close()
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/dohertj2/Desktop/OtOpcUa/docs/ui-consistency/ot13-host-controls/browser.py", line 15, in case
expect(d).to_have_accessible_name('Driver controls');expect(d).to_have_accessible_description(re.compile('Synthetic driver 1'))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.14/site-packages/playwright/sync_api/_generated.py", line 20756, in to_have_accessible_name
self._sync(
~~~~~~~~~~^
self._impl_obj.to_have_accessible_name(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
name=name, ignoreCase=ignore_case, timeout=timeout
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
)
^
File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_sync_base.py", line 115, in _sync
return task.result()
~~~~~~~~~~~^^
File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_assertions.py", line 858, in to_have_accessible_name
await self._expect_impl(
...<5 lines>...
)
File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_assertions.py", line 85, in _expect_impl
raise AssertionError(
f"{out_message}\nActual value: {actual}{error_message} {format_call_log(result.get('log'))}"
)
AssertionError: Locator expected to have accessible name
Actual value: Driver controls · Synthetic driver 1 synthetic-driver-with-a-deliberately-long-identifier-for-local-reflow-a synthetic-cluster
Call log:
- Expect "to_have_accessible_name" with timeout 5000ms
- waiting for get_by_role("dialog")
9 × locator resolved to <div tabindex="-1" role="dialog" aria-modal="true" aria-busy="false" class="modal fade show" id="ot-modal-661b6a8d3dc440e48fb5b48d9c745bc0" aria-labelledby="ot-modal-661b6a8d3dc440e48fb5b48d9c745bc0-title">…</div>
- unexpected value "Driver controls · Synthetic driver 1 synthetic-driver-with-a-deliberately-long-identifier-for-local-reflow-a synthetic-cluster"