GUI acceptance tests using environment deployed from packages.

Build: #2953 failed

Job: Shares basic failed

Stages & jobs

  1. Qnthack - copy quarantine

  2. Acceptance Test

  3. Qnthack - rerun

    Final

share curl command can be used to get valid share info[1oz 1op deployed]: Test case result

The below summarizes the result of the test " share curl command can be used to get valid share info[1oz 1op deployed]" in build 2,953 of Onedata Products - gui acceptance pkg - Shares basic.
Description
share curl command can be used to get valid share info[1oz 1op deployed]
Test class
gui.scenarios.test_shares_basic
Method
test_share_curl_command_can_be_used_to_get_valid_share_info[1oz_1op_deployed]
Duration
31 secs
Status
Failed (New Failure)

Error Log

AssertionError: file type: file not in curl result
fixturefunc = <function assert_curl_result_with_config at 0x7fe977db58a0>
request = <FixtureRequest for <Function test_share_curl_command_can_be_used_to_get_valid_share_info[1oz_1op_deployed]>>
kwargs = {'browser_id': 'browser', 'config': 'name: share_file1\nfile type: file', 'tmp_memory': defaultdict(<class 'dict'>, {'...public', 'name': 'share_file1', 'handleId': None, 'fileType': 'REG', 'description': '', 'creationTime': 1732930363}}})}

    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)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

browser_id = 'browser'
tmp_memory = defaultdict(<class 'dict'>, {'browser': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': .../public', 'name': 'share_file1', 'handleId': None, 'fileType': 'REG', 'description': '', 'creationTime': 1732930363}}})
config = 'name: share_file1\nfile type: file'

    @wt(
        parsers.parse(
            "user of {browser_id} sees that curl result matches following config:\n{config}"
        )
    )
    def assert_curl_result_with_config(browser_id, tmp_memory, config):
        curl_res = tmp_memory[browser_id]["curl result"]
        expected_data = yaml.load(config, yaml.Loader)
    
        for key, val in expected_data.items():
            assert (
>               curl_res[_camel_transform(key)] == val
            ), f"{key}: {val} not in curl result"
E           AssertionError: file type: file not in curl result

tests/gui/steps/common/miscellaneous.py:177: AssertionError