⏱️ Duration: 21.16s
❌ Error:
fixturefunc = <function customize_template at 0x7fd393fdc790>
request = <FixtureRequest for <Function test_generate_video_and_publish[test03]>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="c979504a420d972c4e72c004446aaca9")>}
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_create_page.py:66: in customize_template
bs_fail_with_traceback(browser, customize_template, e)
helpers/common_helpers.py:789: in bs_fail_with_traceback
raise exception
tests/test_create_page.py:62: in customize_template
hover_library_photos_videos_dropdown(browser)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="c979504a420d972c4e72c004446aaca9")>
def hover_library_photos_videos_dropdown(browser):
"""
Hovers over the library dropdown
After action 2 buttons should be visible: photos and videos
"""
> assert is_visible(browser, LIBRARY_PHOTOS_VIDEOS_DROPDOWN)
E AssertionError
pages/create_page.py:306: AssertionE
📸 Failure Screenshot: