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 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 - unexpected value "inactive"