Record touch and keyboard acceptance with isolated SQL validation
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
Traceback (most recent call last):
|
||||
File "/Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/components/ui-theme/validation/ot-ui/ot07-root/verify.py", line 38, in <module>
|
||||
ctx=b.new_context(viewport={'width':width,'height':900},has_touch=touch,is_mobile=touch);page=ctx.new_page();tree_case(page,f'raw-{width}-coarse-{touch}',touch);ctx.close()
|
||||
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
File "/Users/dohertj2/.codex/worktrees/scada-ui-consistency/scadaproj/components/ui-theme/validation/ot-ui/ot07-root/verify.py", line 33, in tree_case
|
||||
tree.evaluate('(e)=>e.scrollTop=e.scrollHeight');more=page.get_by_role('button',name=re.compile('Show 300 more'));expect(more).to_be_visible();more.click();tree.evaluate('(e)=>e.scrollTop=e.scrollHeight');expect(page.get_by_role('checkbox',name='Synthetic tag 799',exact=True)).to_be_visible();assert page.locator('.raw-tree-row').count()<100
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
|
||||
File "/opt/homebrew/lib/python3.14/site-packages/playwright/sync_api/_generated.py", line 20523, in to_be_visible
|
||||
self._sync(self._impl_obj.to_be_visible(visible=visible, 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 765, in to_be_visible
|
||||
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 visible
|
||||
Actual value: None
|
||||
Error: element(s) not found
|
||||
Call log:
|
||||
- Expect "to_be_visible" with timeout 5000ms
|
||||
- waiting for get_by_role("checkbox", name="Synthetic tag 799", exact=True)
|
||||
|
||||
Reference in New Issue
Block a user