Guard and name Raw manual entry and browsing workflows
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
Traceback (most recent call last):
|
||||
File "/Users/dohertj2/Desktop/OtOpcUa/docs/ui-consistency/ot13-raw-workflows/browse-browser.py", line 41, in <module>
|
||||
ctx=browser.new_context(viewport={'width':width,'height':900});case(ctx.new_page(),kind,str(width));ctx.close()
|
||||
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
File "/Users/dohertj2/Desktop/OtOpcUa/docs/ui-consistency/ot13-raw-workflows/browse-browser.py", line 31, in case
|
||||
expect(page.locator('#rebirth-requests')).to_have_text('1');expect(page.locator('#requests')).to_have_text('0')
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^
|
||||
File "/opt/homebrew/lib/python3.14/site-packages/playwright/sync_api/_generated.py", line 20080, in to_have_text
|
||||
self._sync(
|
||||
~~~~~~~~~~^
|
||||
self._impl_obj.to_have_text(
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
...<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/_assertions.py", line 561, in to_have_text
|
||||
await self._expect_impl(
|
||||
...<9 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 have text '1'
|
||||
Actual value: 0
|
||||
Call log:
|
||||
- Expect "to_have_text" with timeout 5000ms
|
||||
- waiting for locator("#rebirth-requests")
|
||||
9 × locator resolved to <output inert="" id="rebirth-requests">0</output>
|
||||
- unexpected value "0"
|
||||
|
||||
Reference in New Issue
Block a user