⏱️ Duration: 601.26s
❌ Error:
fixturefunc = <function verify_file_downloaded at 0x7f1a985d0940>
request = <FixtureRequest for <Function test_a01p_autopilot_verify_actions_on_the_ai_posts_in_planner>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="c580a7774099dd4a467bb7bb57b79050")>}
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_planner_page.py:712: in verify_file_downloaded
bs_fail_with_traceback(browser, verify_file_downloaded, e)
helpers/common_helpers.py:815: in bs_fail_with_traceback
raise exception
tests/test_planner_page.py:710: in verify_file_downloaded
assert_file_downloaded(browser)
helpers/common_helpers.py:1269: in assert_file_downloaded
files_downloaded_successfully(browser)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="c580a7774099dd4a467bb7bb57b79050")>
def files_downloaded_successfully(browser):
"""
Requires: User is on the Google Chrome downloads tab
Wait is added to make sure that download process is alrea
📸 Failure Screenshot:
⏱️ Duration: 170.75s
❌ Error:
browser = <selenium.webdriver.remote.webdriver.WebDriver (session="cc1d03f3a98acc616779c8798b48fa1a")>
def verify_post_not_rendered_or_not_listicle(browser):
"""
Assert that video is not rendered by checking availability of Regeneration button and CBE
Delete a post if assertion failed or Advanced settings button is displayed
"""
try:
> assert is_visible(browser, AI_POST_REGENERATION_ICON, 15), "Video is already rendered"
E AssertionError: Video is already rendered
pages/autopilot_page.py:596: AssertionError
During handling of the above exception, another exception occurred:
fixturefunc = <function ai_open_preview at 0x7f1a987d8e50>
request = <FixtureRequest for <Function test_a09_verify_user_is_redirected_to_the_publish_page_when_using_planner_preview_buttons[export-cbe]>>
kwargs = {'browser': <selenium.webdriver.remote.webdriver.WebDriver (session="cc1d03f3a98acc616779c8798b48fa1a")>, 'number': '4'}
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:420: in ai_open_preview
verify_post
📸 Failure Screenshot: