38 lines
3.0 KiB
Plaintext
38 lines
3.0 KiB
Plaintext
Traceback (most recent call last):
|
|
File "/Users/dohertj2/Desktop/ScadaBridge/infra/tools/inspect_states_and_utc.py", line 15, in <module>
|
|
fact=page.locator('[role=region][aria-label="API keys"]');record['checks']['unavailableNotZero']='Unavailable' in fact.inner_text();page.get_by_role('button',name='Retry API keys',exact=True).click();page.wait_for_function('!document.querySelector("[role=region][aria-label=\"API keys\"]").textContent.includes("Unavailable") && !document.querySelector("[role=region][aria-label=\"API keys\"]").textContent.includes("Loading")');record['checks']['retryKnownZero']='0' in fact.inner_text() and 'Unavailable' not in fact.inner_text();record['checks']['otherFactsRemain']=all('0' in page.locator('[role=region][aria-label="'+label+'"]').inner_text() for label in ['Sites configured','Data connections configured','Templates'])
|
|
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
File "/opt/homebrew/lib/python3.14/site-packages/playwright/sync_api/_generated.py", line 11599, in wait_for_function
|
|
self._sync(
|
|
~~~~~~~~~~^
|
|
self._impl_obj.wait_for_function(
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
...<4 lines>...
|
|
)
|
|
^
|
|
)
|
|
^
|
|
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/_page.py", line 1110, in wait_for_function
|
|
return await self._main_frame.wait_for_function(**locals_to_params(locals()))
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_frame.py", line 878, in wait_for_function
|
|
await self._channel.send("waitForFunction", self._timeout, params)
|
|
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: Page.wait_for_function: SyntaxError: missing ) after argument list
|
|
at eval (<anonymous>)
|
|
at predicate (eval at evaluate (:290:30), <anonymous>:4:56)
|
|
at next (eval at evaluate (:290:30), <anonymous>:29:29)
|
|
at eval (eval at evaluate (:290:30), <anonymous>:42:9)
|
|
at UtilityScript.evaluate (<anonymous>:292:16)
|
|
at UtilityScript.<anonymous> (<anonymous>:1:44)
|