Test Results (3 tests)
⏱️ Duration: 30.70s
❌ Error:
login_page = <pages.login_page.LoginPage object at 0x7f767fad05b0>
links_page = <pages.links_page.LinksPage object at 0x7f767fad0460>
base_url = 'https://test03.testingpromo.com', option = 'multiple_videos'
@pytest.mark.parametrize("option", ["multiple_videos", "template", "footage", "manage_brands", "add_new_brand"])
def test_l05_create_new_dropdown_redirects(login_page, links_page, base_url, option):
"""Each Create New dropdown option redirects to its expected destination."""
> login_page.login_directly(base_url, general_mail(), get_password())
tests/links/test_links.py:110:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages/login_page.py:116: in login_directly
self.page.wait_for_function(
/usr/local/lib/python3.10/dist-packages/playwright/sync_api/_generated.py:12761: in wait_for_function
self._sync(
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_page.py:1151: in wait_for_function
return await self._main_frame.wait_for_function(**locals_to_params(locals()))
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_frame.py:940: in wait_for_function
await self._channel.send("waitForFunction", self._timeout, params)
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_connection.py:76: in send
return await self._connection.wrap_api_call(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <playwright._impl._connection.Connection object at 0x7f767f846ce0>
cb = <function Channel.send.<locals>.<lambda> at 0x7f767ed99990>
is_internal = False, title = None
async def wrap_api_call(
self, cb: Callable[[], Any], is_internal: bool = False, title: str = None
) -> Any:
if self._api_zone.get():
return await cb()
task = asyncio.current_task(self._loop)
parsed_st = _attach_api_call_information(
getattr(task, "__pw_stack__", None) or _capture_stack_trace(),
is_internal,
📸 Failure Screenshot:
⏱️ Duration: 30.56s
❌ Error:
login_page = <pages.login_page.LoginPage object at 0x7f767d28e740>
links_page = <pages.links_page.LinksPage object at 0x7f767d28f2e0>
base_url = 'https://test03.testingpromo.com', option = 'template'
@pytest.mark.parametrize("option", ["multiple_videos", "template", "footage", "manage_brands", "add_new_brand"])
def test_l05_create_new_dropdown_redirects(login_page, links_page, base_url, option):
"""Each Create New dropdown option redirects to its expected destination."""
> login_page.login_directly(base_url, general_mail(), get_password())
tests/links/test_links.py:110:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages/login_page.py:116: in login_directly
self.page.wait_for_function(
/usr/local/lib/python3.10/dist-packages/playwright/sync_api/_generated.py:12761: in wait_for_function
self._sync(
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_page.py:1151: in wait_for_function
return await self._main_frame.wait_for_function(**locals_to_params(locals()))
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_frame.py:940: in wait_for_function
await self._channel.send("waitForFunction", self._timeout, params)
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_connection.py:76: in send
return await self._connection.wrap_api_call(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <playwright._impl._connection.Connection object at 0x7f767f846ce0>
cb = <function Channel.send.<locals>.<lambda> at 0x7f767d2a6cb0>
is_internal = False, title = None
async def wrap_api_call(
self, cb: Callable[[], Any], is_internal: bool = False, title: str = None
) -> Any:
if self._api_zone.get():
return await cb()
task = asyncio.current_task(self._loop)
parsed_st = _attach_api_call_information(
getattr(task, "__pw_stack__", None) or _capture_stack_trace(),
is_internal,
📸 Failure Screenshot:
⏱️ Duration: 13.24s
❌ Error:
login_page = <pages.login_page.LoginPage object at 0x7f767d33d840>
links_page = <pages.links_page.LinksPage object at 0x7f767d33f3d0>
base_url = 'https://test03.testingpromo.com', option = 'footage'
@pytest.mark.parametrize("option", ["multiple_videos", "template", "footage", "manage_brands", "add_new_brand"])
def test_l05_create_new_dropdown_redirects(login_page, links_page, base_url, option):
"""Each Create New dropdown option redirects to its expected destination."""
login_page.login_directly(base_url, general_mail(), get_password())
> links_page.select_create_new_option_and_check_redirect(base_url, option)
tests/links/test_links.py:111:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages/links_page.py:272: in select_create_new_option_and_check_redirect
self.open_create_new_dropdown()
pages/links_page.py:263: in open_create_new_dropdown
self.page.locator(self.CREATE_NEW_BUTTON).wait_for(state="visible", timeout=self.T_ACTION)
/usr/local/lib/python3.10/dist-packages/playwright/sync_api/_generated.py:20539: in wait_for
self._sync(
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_locator.py:748: in wait_for
await self._frame.wait_for_selector(
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_frame.py:394: in wait_for_selector
await self._channel.send(
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_connection.py:76: in send
return await self._connection.wrap_api_call(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <playwright._impl._connection.Connection object at 0x7f767f846ce0>
cb = <function Channel.send.<locals>.<lambda> at 0x7f767fb1e3b0>
is_internal = False, title = None
async def wrap_api_call(
self, cb: Callable[[], Any], is_internal: bool = False, title: str = None
) -> Any:
if self._api_zone.get():
return await cb()
task = asyncio.current_task(self._loo
📸 Failure Screenshot: