Record touch and keyboard acceptance with isolated SQL validation
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
Traceback (most recent call last):
|
||||
File "/Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/components/ui-theme/validation/ot-ui/ot07-root/keyboard_menu.py", line 12, in <module>
|
||||
assert menu.evaluate('(e)=>e.matches(":popover-open")');page.keyboard.press('Enter');expect(menu).to_have_count(0);expect(page.locator('#selection-count')).to_have_text('800 selected');expect(page.locator('#selection-request-count')).to_have_text('1');expect(trigger).to_be_focused();assert not errors
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
|
||||
File "/opt/homebrew/lib/python3.14/site-packages/playwright/sync_api/_generated.py", line 20572, in to_be_focused
|
||||
self._sync(self._impl_obj.to_be_focused(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 786, in to_be_focused
|
||||
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 be focused
|
||||
Actual value: inactive
|
||||
Call log:
|
||||
- Expect "to_be_focused" with timeout 5000ms
|
||||
- waiting for locator(".ctx-ellipsis").first
|
||||
9 × locator resolved to <button type="button" b-e34sbdwx8a="" class="ctx-ellipsis" aria-haspopup="true" title="More actions for Synthetic device" _bl_4f93a5a6-8648-4182-86fd-0bffbf39f77d="" aria-label="More actions for Synthetic device">…</button>
|
||||
- unexpected value "inactive"
|
||||
|
||||
Reference in New Issue
Block a user