GUI acceptance tests using environment deployed from packages.

Build: #2912 failed

Job: Atm BagIt failed

Stages & jobs

  1. Qnthack - copy quarantine

  2. Acceptance Test

  3. Qnthack - rerun

    Final

user sees successful execution of uploaded bagituploader workflow and input file bagit archive unpacktar[1oz 1op openfaas]: Test case result

The below summarizes the result of the test " user sees successful execution of uploaded bagituploader workflow and input file bagit archive unpacktar[1oz 1op openfaas]" in build 2,912 of Onedata Products - gui acceptance pkg - Atm BagIt.
Description
user sees successful execution of uploaded bagituploader workflow and input file bagit archive unpacktar[1oz 1op openfaas]
Test class
gui.scenarios.test_automation_bagit
Method
test_user_sees_successful_execution_of_uploaded_bagituploader_workflow_and_input_file_bagit_archive_unpacktar[1oz_1op_openfaas]
Jira Issue
Duration
23 mins
Status
Failed (Existing Failure)

Error Log

AssertionError: Expected number of elements 21 is not equal to actual number 22 in "uploaded-files" store details modal
fixturefunc = <function assert_number_of_elements_in_store_details at 0x7f7bb2662a20>
request = <FixtureRequest for <Function test_user_sees_successful_execution_of_uploaded_bagituploader_workflow_and_input_file_bagit_archive_unpacktar[1oz_1op_openfaas]>>
kwargs = {'browser_id': 'browser', 'modals': <class 'tests.gui.utils.common.modals.Modals'>, 'number': '21', 'op_container': <class 'tests.gui.utils.oneprovider.OPLoggedIn'>, ...}

    def call_fixture_func(
        fixturefunc: "_FixtureFunc[FixtureValue]", request: FixtureRequest, kwargs
    ) -> FixtureValue:
        if is_generator(fixturefunc):
            fixturefunc = cast(
                Callable[..., Generator[FixtureValue, None, None]], fixturefunc
            )
            generator = fixturefunc(**kwargs)
            try:
                fixture_result = next(generator)
            except StopIteration:
                raise ValueError(f"{request.fixturename} did not yield a value") from None
            finalizer = functools.partial(_teardown_yield_fixture, fixturefunc, generator)
            request.addfinalizer(finalizer)
        else:
            fixturefunc = cast(Callable[..., FixtureValue], fixturefunc)
>           fixture_result = fixturefunc(**kwargs)

/usr/local/lib/python3.12/dist-packages/_pytest/fixtures.py:913: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/utils/bdd_utils.py:78: in wrapper
    return fun(*ba.args, **ba.kwargs)
tests/gui/meta_steps/oneprovider/automation/audit_log.py:223: in assert_number_of_elements_in_store_details
    check_number_of_elements_in_store_details_modal(modal, number, store_name)
/usr/local/lib/python3.12/dist-packages/decorator.py:232: in fun
    return caller(func, *(extras + args), **kw)
tests/utils/utils.py:93: in wrapper
    return fun(*args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

modal = <tests.gui.utils.common.modals.workflows_modals.store_details.StoreDetails object at 0x7f7bb22d8740>
number = '21', store_name = 'uploaded-files'

    @repeat_failed(timeout=WAIT_FRONTEND)
    def check_number_of_elements_in_store_details_modal(modal, number, store_name):
        actual_number = len(modal.store_content_object)
        err_msg = (f'Expected number of elements {number} is not equal to actual '
                   f'number {actual_number} in "{store_name}" store details modal')
    
>       assert actual_number == int(number), err_msg
E       AssertionError: Expected number of elements 21 is not equal to actual number 22 in "uploaded-files" store details modal

tests/gui/steps/oneprovider/automation/workflow_results_modals.py:257: AssertionError