54 lines
3.0 KiB
Plaintext
54 lines
3.0 KiB
Plaintext
Traceback (most recent call last):
|
|
File "/Users/dohertj2/Desktop/ScadaBridge/infra/tools/inspect_final_integration.py", line 38, in <module>
|
|
record['checks']['thinFailureRule']=page.locator('.ft-row.failed').evaluate('e=>getComputedStyle(e).boxShadow').find('1px')>=0
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
File "/opt/homebrew/lib/python3.14/site-packages/playwright/sync_api/_generated.py", line 15837, in evaluate
|
|
self._sync(
|
|
~~~~~~~~~~^
|
|
self._impl_obj.evaluate(
|
|
^^^^^^^^^^^^^^^^^^^^^^^^
|
|
expression=expression, arg=mapping.to_impl(arg), 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/_locator.py", line 191, in evaluate
|
|
return await self._with_element(
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
...<2 lines>...
|
|
)
|
|
^
|
|
File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_locator.py", line 113, in _with_element
|
|
handle = await self.element_handle(timeout=timeout)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_locator.py", line 319, in element_handle
|
|
handle = await self._frame.wait_for_selector(
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
self._selector, strict=True, state="attached", **params
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
)
|
|
^
|
|
File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_frame.py", line 369, in wait_for_selector
|
|
await self._channel.send(
|
|
"waitForSelector", self._timeout, locals_to_params(locals())
|
|
)
|
|
File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_connection.py", line 69, in send
|
|
return await self._connection.wrap_api_call(
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
...<3 lines>...
|
|
)
|
|
^
|
|
File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_connection.py", line 559, in wrap_api_call
|
|
raise rewrite_error(error, f"{parsed_st['apiName']}: {error}") from None
|
|
playwright._impl._errors.Error: Locator.evaluate: Error: strict mode violation: locator(".ft-row.failed") resolved to 2 elements:
|
|
1) <tr tabindex="0" b-uksssmfxqj="" data-lane="Site" data-kind="ApiCall" aria-selected="false" class="ft-row failed" data-test="flow-list-row" data-event-id="ba1473b1-dffe-44cb-a955-109e26b22c8f">…</tr> aka get_by_role("row", name="2 +1000 ms Site API call")
|
|
2) <tr tabindex="0" b-uksssmfxqj="" data-lane="Site" data-kind="ApiCall" aria-selected="false" class="ft-row failed" data-test="flow-list-row" data-event-id="e4653ad8-2610-4ba9-b6ac-7a0be2845853">…</tr> aka get_by_role("row", name="3 +2000 ms Site API call")
|
|
|
|
Call log:
|
|
- waiting for locator(".ft-row.failed")
|
|
|