Run tests only with all browsers #48
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 assertion error - [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 0x7fcbb2e47cb0>
shopping_cart = <playwright_tests_with_po.pages.shopping_cart_page.ShoppingCartPage object at 0x7fcbb2b370b0>
def test_add_and_remove_product_from_the_cart(inventory, shopping_cart):
inventory.add_item_to_cart_by_id(0)
> assert inventory.get_number_of_items_in_cart() == 1
E assert 4 == 1
E + where 4 = get_number_of_items_in_cart()
E + where get_number_of_items_in_cart = <playwright_tests_with_po.pages.inventory_page.InventoryPage object at 0x7fcbb2e47cb0>.get_number_of_items_in_cart
tests/test_shopping_cart.py:8: AssertionError
|
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.66 KB |
|