Test Results (11 tests)
⏱️ Duration: 44.67s
❌ Error:
login_page = <pages.login_page.LoginPage object at 0x7fb618187fa0>
links_page = <pages.links_page.LinksPage object at 0x7fb6181861a0>
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())
> links_page.select_create_new_option_and_check_redirect(base_url, option)
tests/links/test_links.py:111:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages/links_page.py:270: in select_create_new_option_and_check_redirect
self.page.goto(base_url + "/create")
/usr/local/lib/python3.10/dist-packages/playwright/sync_api/_generated.py:9875: in goto
self._sync(
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_page.py:560: in goto
return await self._main_frame.goto(**locals_to_params(locals()))
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_frame.py:156: in goto
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 0x7fb618e26d40>
cb = <function Channel.send.<locals>.<lambda> at 0x7fb61816a8c0>
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(),
📸 Failure Screenshot:
⏱️ Duration: 30.00s
❌ Error:
login_page = <pages.login_page.LoginPage object at 0x7fb6130ef190>
links_page = <pages.links_page.LinksPage object at 0x7fb6130eff10>
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:107: in login_directly
self.go_to_login_page(base_url)
pages/login_page.py:43: in go_to_login_page
self.page.goto(f"{base_url}/login", wait_until="domcontentloaded")
/usr/local/lib/python3.10/dist-packages/playwright/sync_api/_generated.py:9875: in goto
self._sync(
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_page.py:560: in goto
return await self._main_frame.goto(**locals_to_params(locals()))
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_frame.py:156: in goto
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 0x7fb618e26d40>
cb = <function Channel.send.<locals>.<lambda> at 0x7fb6115adea0>
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(),
⏱️ Duration: 30.01s
❌ Error:
login_page = <pages.login_page.LoginPage object at 0x7fb6131fd960>
links_page = <pages.links_page.LinksPage object at 0x7fb6131fdc30>
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())
tests/links/test_links.py:110:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pages/login_page.py:107: in login_directly
self.go_to_login_page(base_url)
pages/login_page.py:43: in go_to_login_page
self.page.goto(f"{base_url}/login", wait_until="domcontentloaded")
/usr/local/lib/python3.10/dist-packages/playwright/sync_api/_generated.py:9875: in goto
self._sync(
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_page.py:560: in goto
return await self._main_frame.goto(**locals_to_params(locals()))
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_frame.py:156: in goto
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 0x7fb618e26d40>
cb = <function Channel.send.<locals>.<lambda> at 0x7fb6183ab880>
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(),
⏱️ Duration: 20.19s
❌ Error:
login_page = <pages.login_page.LoginPage object at 0x7fb6115dcb50>
links_page = <pages.links_page.LinksPage object at 0x7fb6115dc4f0>
base_url = 'https://test03.testingpromo.com', option = 'manage_brands'
@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:109: in login_directly
self.enter_email(email)
pages/login_page.py:73: in enter_email
self.page.locator(self.EMAIL_INPUT).fill(email)
/usr/local/lib/python3.10/dist-packages/playwright/sync_api/_generated.py:18242: in fill
self._sync(
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_locator.py:219: in fill
return await self._frame.fill(self._selector, strict=True, **params)
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_frame.py:636: in fill
await self._fill(**locals_to_params(locals()))
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_frame.py:648: in _fill
await self._channel.send("fill", self._timeout, locals_to_params(locals()))
/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 0x7fb618e26d40>
cb = <function Channel.send.<locals>.<lambda> at 0x7fb618139240>
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 = asynci
📸 Failure Screenshot:
⏱️ Duration: 20.24s
❌ Error:
login_page = <pages.login_page.LoginPage object at 0x7fb618248d30>
links_page = <pages.links_page.LinksPage object at 0x7fb618df5fc0>
base_url = 'https://test03.testingpromo.com', option = 'add_new_brand'
@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:109: in login_directly
self.enter_email(email)
pages/login_page.py:73: in enter_email
self.page.locator(self.EMAIL_INPUT).fill(email)
/usr/local/lib/python3.10/dist-packages/playwright/sync_api/_generated.py:18242: in fill
self._sync(
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_locator.py:219: in fill
return await self._frame.fill(self._selector, strict=True, **params)
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_frame.py:636: in fill
await self._fill(**locals_to_params(locals()))
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_frame.py:648: in _fill
await self._channel.send("fill", self._timeout, locals_to_params(locals()))
/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 0x7fb618e26d40>
cb = <function Channel.send.<locals>.<lambda> at 0x7fb613200820>
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 = asynci
📸 Failure Screenshot: