⏱️ Duration: 800.76s
❌ Error:
fixturefunc = <function open_planner_mobile at 0x7f1ca2e9ca60>
request = <FixtureRequest for <Function test_pub06_verify_planner_functionalities_on_mobile>>
kwargs = {'mob_browser': <selenium.webdriver.remote.webdriver.WebDriver (session="087ddf5bccf59b7844bb7d8981d54125")>}
def call_fixture_func(
fixturefunc: "_FixtureFunc[FixtureValue]", request: FixtureRequest, kwargs
) -> FixtureValue:
if is_generator(fixturefunc):
fixturefunc = cast(
Callable[..., Generator[FixtureValue, None, None]], fixturefunc
)
generator = fixturefunc(**kwargs)
try:
fixture_result = next(generator)
except StopIteration:
raise ValueError(f"{request.fixturename} did not yield a value") from None
finalizer = functools.partial(_teardown_yield_fixture, fixturefunc, generator)
request.addfinalizer(finalizer)
else:
fixturefunc = cast(Callable[..., FixtureValue], fixturefunc)
> fixture_result = fixturefunc(**kwargs)
venv/lib/python3.10/site-packages/_pytest/fixtures.py:917:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_mobile_view.py:113: in open_planner_mobile
bs_fail_with_traceback(mob_browser, open_planner_mobile, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
tests/test_mobile_view.py:111: in open_planner_mobile
open_planner_mob(mob_browser)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
mob_browser = <selenium.webdriver.remote.webdriver.WebDriver (session="087ddf5bccf59b7844bb7d8981d54125")>
def open_planner_mob(mob_browser):
"""
Opens Planner directly
"""
mob_browser.get(my_calendar_url)
close_ai_onboarding(mob_browser)
time.sleep(5)
get_title = mob_browser.title
> assert get_title == planner_title
E AssertionError
⏱️ Duration: 109.07s
❌ Error:
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="ba467859fd02aa2115a06a9aeb39b7ff")>
@then('I assert close the button closes the pop-up')
def close_learn_popup(browser):
try:
> do_click(browser, AI_CLOSE_CROP_MODAL)
tests/test_assertion.py:427:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
helpers/common_helpers.py:200: in do_click
WebDriverWait(browser, sec, poll_frequency=0.4).until(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <selenium.webdriver.support.wait.WebDriverWait (session="ba467859fd02aa2115a06a9aeb39b7ff")>
method = <function element_to_be_clickable.<locals>._predicate at 0x7f1ca1f5e170>
message = ''
def until(self, method: Callable[[WebDriver], Union[Literal[False], T]], message: str = "") -> T:
"""Calls the method provided with the driver as an argument until the \
return value does not evaluate to ``False``.
:param method: callable(WebDriver)
:param message: optional message for :exc:`TimeoutException`
:returns: the result of the last call to `method`
:raises: :exc:`selenium.common.exceptions.TimeoutException` if timeout occurs
"""
screen = None
stacktrace = None
end_time = time.monotonic() + self._timeout
while True:
try:
value = method(self._driver)
if value:
return value
except self._ignored_exceptions as exc:
screen = getattr(exc, "screen", None)
stacktrace = getattr(exc, "stacktrace", None)
time.sleep(self._poll)
if time.monotonic() > end_time:
break
> raise TimeoutException(message, screen, stacktrace)
E selenium.common.exceptions.TimeoutException: Message:
E Stacktrace:
E #0 0x59ba623860ca <unknown>
E #1 0x59ba620522b0 <unknown>
E #
📸 Failure Screenshot: