Skip to content

Run tests only with all browsers #49

Run tests only with all browsers

Run tests only with all browsers #49

Triggered via schedule August 31, 2024 07:15
Status Success
Total duration 1m 24s
Artifacts 1

regression.yml

on: schedule
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 2 warnings
build
Process completed with exit code 1.
Failed Test: tests/test_shopping_cart.py::test_add_and_remove_product_from_the_cart
tests/test_shopping_cart.py::test_add_and_remove_product_from_the_cart: The test failed in the call phase due to an exception - [gw0] linux -- Python 3.12.5 /home/runner/.cache/pypoetry/virtualenvs/playwright-tests-with-po-nfyOpXhQ-py3.12/bin/python inventory = <playwright_tests_with_po.pages.inventory_page.InventoryPage object at 0x7f386734fd40> shopping_cart = <playwright_tests_with_po.pages.shopping_cart_page.ShoppingCartPage object at 0x7f386736dd00> def test_add_and_remove_product_from_the_cart(inventory, shopping_cart): > inventory.add_item_to_cart_by_id(0) tests/test_shopping_cart.py:6: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ playwright_tests_with_po/pages/inventory_page.py:25: in add_item_to_cart_by_id self.inventory_items.nth(id).locator(self.add_item_to_cart_btns).click() ../../../.cache/pypoetry/virtualenvs/playwright-tests-with-po-nfyOpXhQ-py3.12/lib/python3.12/site-packages/playwright/sync_api/_generated.py:15093: in click self._sync( ../../../.cache/pypoetry/virtualenvs/playwright-tests-with-po-nfyOpXhQ-py3.12/lib/python3.12/site-packages/playwright/_impl/_locator.py:156: in click return await self._frame.click(self._selector, strict=True, **params) ../../../.cache/pypoetry/virtualenvs/playwright-tests-with-po-nfyOpXhQ-py3.12/lib/python3.12/site-packages/playwright/_impl/_frame.py:488: in click await self._channel.send("click", locals_to_params(locals())) ../../../.cache/pypoetry/virtualenvs/playwright-tests-with-po-nfyOpXhQ-py3.12/lib/python3.12/site-packages/playwright/_impl/_connection.py:59: in send return await self._connection.wrap_api_call( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <playwright._impl._connection.Connection object at 0x7f386d4524e0> cb = <function Channel.send.<locals>.<lambda> at 0x7f386f2522a0> is_internal = False async def wrap_api_call( self, cb: Callable[[], Any], is_internal: bool = False ) -> Any: if self._api_zone.get(): return await cb() task = asyncio.current_task(self._loop) st: List[inspect.FrameInfo] = getattr(task, "__pw_stack__", inspect.stack()) parsed_st = _extract_stack_trace_information_from_stack(st, is_internal) self._api_zone.set(parsed_st) try: return await cb() except Exception as error: > raise rewrite_error(error, f"{parsed_st['apiName']}: {error}") from None E playwright._impl._errors.TimeoutError: Locator.click: Timeout 30000ms exceeded. E Call log: E waiting for locator(".inventory_item").first.locator(locator("[id^=\"add-to-cart\"]")) ../../../.cache/pypoetry/virtualenvs/playwright-tests-with-po-nfyOpXhQ-py3.12/lib/python3.12/site-packages/playwright/_impl/_connection.py:514: TimeoutError
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-python@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-python@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/

Artifacts

Produced during runtime
Name Size
playwright-traces Expired
1.67 KB