error

 avatar
unknown
python
a year ago
1.8 kB
6
Indexable
test_011_006_001_message_no_items_is_displayed ________________
[gw0] linux -- Python 3.11.9 /opt/hostedtoolcache/Python/3.11.9/x64/bin/python
/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/selene/core/wait.py:119: in logic
    return fn(self.entity)
/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/selene/core/condition.py:174: in __call__
    return self._fn(entity)
/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/selene/core/condition.py:146: in fn
    raise AssertionError(f'actual {result}: {actual}')
E   AssertionError: actual text: Go to Wish List

During handling of the above exception, another exception occurred:
tests/test_wish_list.py:35: in test_011_006_001_message_no_items_is_displayed
    wish_list.wish_list_is_empty()
pages/wish_list.py:106: in wish_list_is_empty
    message_wish_list_is_empty.should(have.text(empty_message))
/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/selene/core/entity.py:132: in should
    self.wait.for_(condition)
/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/selene/core/wait.py:150: in for_
    return self._decorator(self)(logic)(fn)
/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/selene/support/_logging.py:104: in decorated
    return for_(fn)
/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/selene/core/wait.py:148: in logic
    raise self._hook_failure(failure)
E   selene.core.exceptions.TimeoutException: Message: 
E   
E   Timed out after 25s, while waiting for:
E   browser.element(('css selector', 'div.block.block-wishlist > div.block-content > div')).has text You have no items in your wish list.
E   
E   Reason: AssertionError: actual text: Go to Wish List
Editor is loading...
Leave a Comment