Merge pull request #679 from ChanceM/release/automatic-episode-scrape #671
10 passed, 4 failed and 0 skipped
❌ ./report.xml
14 tests were completed in 130s with 10 passed, 4 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
pytest | 10✅ | 4❌ | 130s |
❌ pytest
test.e2e.test_contact
✅ test_contact_screenshot[chromium]
✅ test_submit_button_visible[chromium]
test.e2e.test_edge-cases
✅ test_tag_broken_link_spaces[chromium]
test.e2e.test_home
✅ test_homepage_screenshot[chromium]
✅ test_homepage_has_logo[chromium]
✅ test_pagination[chromium]
✅ test_rss_feeds[chromium]
✅ test_dropdowns[chromium]
✅ test_nav[chromium]
test.e2e.test_live
❌ test_live_indicator[chromium]
page = <Page url='http://jb-com/live/'>
❌ test_mobile_live_indicator[iPhone 13-chromium]
mobile_device_tuple = (<Page url='http://jb-com/live/'>, 'iPhone 13')
❌ test_mobile_live_indicator[Pixel 5-chromium]
mobile_device_tuple = (<Page url='http://jb-com/live/'>, 'Pixel 5')
❌ test_mobile_live_indicator[Galaxy S9+-chromium]
mobile_device_tuple = (<Page url='http://jb-com/live/'>, 'Galaxy S9+')
test.e2e.test_infra_configs
✅ test_matrix_well_known
Annotations
Check failure on line 0 in ./report.xml
github-actions / E2E Tests
pytest ► test.e2e.test_live ► test_live_indicator[chromium]
Failed test found in:
./report.xml
Error:
page = <Page url='http://jb-com/live/'>
Raw output
page = <Page url='http://jb-com/live/'>
set_live = <staticmethod(<function _replace_live_event at 0x7f76fd702950>)>
screenshot_dir = PosixPath('screenshots')
def test_live_indicator(
page: Page,
set_live: Callable,
screenshot_dir: Path,
):
# intercepting reponses for live event, and make live
set_live(page)
# go to the live page
> page.goto("/live")
test/e2e/test_live.py:14:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.10/dist-packages/playwright/sync_api/_generated.py:7434: in goto
self._sync(
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_page.py:496: in goto
return await self._main_frame.goto(**locals_to_params(locals()))
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_frame.py:136: in goto
await self._channel.send("goto", locals_to_params(locals()))
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_connection.py:43: in send
return await self._connection.wrap_api_call(
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_connection.py:387: in wrap_api_call
return await cb()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <playwright._impl._connection.Channel object at 0x7f76f7e79330>
method = 'goto', params = {'url': '/live'}, return_as_dict = False
async def inner_send(
self, method: str, params: Optional[Dict], return_as_dict: bool
) -> Any:
if params is None:
params = {}
callback = self._connection._send_message_to_server(self._guid, method, params)
if self._connection._error:
error = self._connection._error
self._connection._error = None
raise error
done, _ = await asyncio.wait(
{
self._connection._transport.on_error_future,
callback.future,
},
return_when=asyncio.FIRST_COMPLETED,
)
if not callback.future.done():
callback.future.cancel()
> result = next(iter(done)).result()
E playwright._impl._api_types.TimeoutError: Timeout 30000ms exceeded.
E =========================== logs ===========================
E navigating to "http://jb-com/live", waiting until "load"
E ============================================================
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_connection.py:78: TimeoutError
Check failure on line 0 in ./report.xml
github-actions / E2E Tests
pytest ► test.e2e.test_live ► test_mobile_live_indicator[iPhone 13-chromium]
Failed test found in:
./report.xml
Error:
mobile_device_tuple = (<Page url='http://jb-com/live/'>, 'iPhone 13')
Raw output
mobile_device_tuple = (<Page url='http://jb-com/live/'>, 'iPhone 13')
set_live = <staticmethod(<function _replace_live_event at 0x7f76fd702950>)>
screenshot_dir = PosixPath('screenshots/mobile/iPhone-13')
def test_mobile_live_indicator(
mobile_device_tuple: Tuple[Page, str],
set_live: Callable,
screenshot_dir: Path,
):
# set mobile page to variable
mobile_device = mobile_device_tuple[0]
# set screenshot dir for mobile device
screenshot_dir = Path(
screenshot_dir / f"mobile/{mobile_device_tuple[1].replace(' ','-')}/"
)
# intercepting reponses for live event, and make live
set_live(mobile_device)
> mobile_device.goto("/live")
test/e2e/test_live.py:47:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.10/dist-packages/playwright/sync_api/_generated.py:7434: in goto
self._sync(
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_page.py:496: in goto
return await self._main_frame.goto(**locals_to_params(locals()))
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_frame.py:136: in goto
await self._channel.send("goto", locals_to_params(locals()))
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_connection.py:43: in send
return await self._connection.wrap_api_call(
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_connection.py:387: in wrap_api_call
return await cb()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <playwright._impl._connection.Channel object at 0x7f76fd355cc0>
method = 'goto', params = {'url': '/live'}, return_as_dict = False
async def inner_send(
self, method: str, params: Optional[Dict], return_as_dict: bool
) -> Any:
if params is None:
params = {}
callback = self._connection._send_message_to_server(self._guid, method, params)
if self._connection._error:
error = self._connection._error
self._connection._error = None
raise error
done, _ = await asyncio.wait(
{
self._connection._transport.on_error_future,
callback.future,
},
return_when=asyncio.FIRST_COMPLETED,
)
if not callback.future.done():
callback.future.cancel()
> result = next(iter(done)).result()
E playwright._impl._api_types.TimeoutError: Timeout 30000ms exceeded.
E =========================== logs ===========================
E navigating to "http://jb-com/live", waiting until "load"
E ============================================================
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_connection.py:78: TimeoutError
Check failure on line 0 in ./report.xml
github-actions / E2E Tests
pytest ► test.e2e.test_live ► test_mobile_live_indicator[Pixel 5-chromium]
Failed test found in:
./report.xml
Error:
mobile_device_tuple = (<Page url='http://jb-com/live/'>, 'Pixel 5')
Raw output
mobile_device_tuple = (<Page url='http://jb-com/live/'>, 'Pixel 5')
set_live = <staticmethod(<function _replace_live_event at 0x7f76fd702950>)>
screenshot_dir = PosixPath('screenshots/mobile/Pixel-5')
def test_mobile_live_indicator(
mobile_device_tuple: Tuple[Page, str],
set_live: Callable,
screenshot_dir: Path,
):
# set mobile page to variable
mobile_device = mobile_device_tuple[0]
# set screenshot dir for mobile device
screenshot_dir = Path(
screenshot_dir / f"mobile/{mobile_device_tuple[1].replace(' ','-')}/"
)
# intercepting reponses for live event, and make live
set_live(mobile_device)
> mobile_device.goto("/live")
test/e2e/test_live.py:47:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.10/dist-packages/playwright/sync_api/_generated.py:7434: in goto
self._sync(
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_page.py:496: in goto
return await self._main_frame.goto(**locals_to_params(locals()))
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_frame.py:136: in goto
await self._channel.send("goto", locals_to_params(locals()))
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_connection.py:43: in send
return await self._connection.wrap_api_call(
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_connection.py:387: in wrap_api_call
return await cb()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <playwright._impl._connection.Channel object at 0x7f76f6ca6020>
method = 'goto', params = {'url': '/live'}, return_as_dict = False
async def inner_send(
self, method: str, params: Optional[Dict], return_as_dict: bool
) -> Any:
if params is None:
params = {}
callback = self._connection._send_message_to_server(self._guid, method, params)
if self._connection._error:
error = self._connection._error
self._connection._error = None
raise error
done, _ = await asyncio.wait(
{
self._connection._transport.on_error_future,
callback.future,
},
return_when=asyncio.FIRST_COMPLETED,
)
if not callback.future.done():
callback.future.cancel()
> result = next(iter(done)).result()
E playwright._impl._api_types.TimeoutError: Timeout 30000ms exceeded.
E =========================== logs ===========================
E navigating to "http://jb-com/live", waiting until "load"
E ============================================================
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_connection.py:78: TimeoutError
Check failure on line 0 in ./report.xml
github-actions / E2E Tests
pytest ► test.e2e.test_live ► test_mobile_live_indicator[Galaxy S9+-chromium]
Failed test found in:
./report.xml
Error:
mobile_device_tuple = (<Page url='http://jb-com/live/'>, 'Galaxy S9+')
Raw output
mobile_device_tuple = (<Page url='http://jb-com/live/'>, 'Galaxy S9+')
set_live = <staticmethod(<function _replace_live_event at 0x7f76fd702950>)>
screenshot_dir = PosixPath('screenshots/mobile/Galaxy-S9+')
def test_mobile_live_indicator(
mobile_device_tuple: Tuple[Page, str],
set_live: Callable,
screenshot_dir: Path,
):
# set mobile page to variable
mobile_device = mobile_device_tuple[0]
# set screenshot dir for mobile device
screenshot_dir = Path(
screenshot_dir / f"mobile/{mobile_device_tuple[1].replace(' ','-')}/"
)
# intercepting reponses for live event, and make live
set_live(mobile_device)
> mobile_device.goto("/live")
test/e2e/test_live.py:47:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.10/dist-packages/playwright/sync_api/_generated.py:7434: in goto
self._sync(
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_page.py:496: in goto
return await self._main_frame.goto(**locals_to_params(locals()))
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_frame.py:136: in goto
await self._channel.send("goto", locals_to_params(locals()))
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_connection.py:43: in send
return await self._connection.wrap_api_call(
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_connection.py:387: in wrap_api_call
return await cb()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <playwright._impl._connection.Channel object at 0x7f76f6b81240>
method = 'goto', params = {'url': '/live'}, return_as_dict = False
async def inner_send(
self, method: str, params: Optional[Dict], return_as_dict: bool
) -> Any:
if params is None:
params = {}
callback = self._connection._send_message_to_server(self._guid, method, params)
if self._connection._error:
error = self._connection._error
self._connection._error = None
raise error
done, _ = await asyncio.wait(
{
self._connection._transport.on_error_future,
callback.future,
},
return_when=asyncio.FIRST_COMPLETED,
)
if not callback.future.done():
callback.future.cancel()
> result = next(iter(done)).result()
E playwright._impl._api_types.TimeoutError: Timeout 30000ms exceeded.
E =========================== logs ===========================
E navigating to "http://jb-com/live", waiting until "load"
E ============================================================
/usr/local/lib/python3.10/dist-packages/playwright/_impl/_connection.py:78: TimeoutError