⏱️ Duration: 56.12s
❌ Error:
fixturefunc = <function click_calendar_post_plan at 0x7f113e6c08b0>
request = <FixtureRequest for <Function test_pub13_new_user_verifies_bulk_delete_action_in_the_planner>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="8bf1485c945ce7261db92999bf8c0566")>}
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_autopilot_page.py:50: in click_calendar_post_plan
bs_fail_with_traceback(browser, click_calendar_post_plan, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="8bf1485c945ce7261db92999bf8c0566")>
@when('I click on the calendar icon')
def click_calendar_post_plan(browser):
try:
> assert is_visible(browser, POST_PLAN_OPEN_CALENDAR)
E assert False
E + where False = is_visible(<selenium.webdriver.remote.webdriver.WebDriver (session="8bf1485c945ce7261db92999bf8c0566")>, ('xpath', '//*[@data-qaid="open-calendar-button"]')
📸 Failure Screenshot: