GUI acceptance tests using environment deployed from packages.

Build: #2954 failed

Job: Public shares failed

Stages & jobs

  1. Qnthack - copy quarantine

  2. Acceptance Test

  3. Qnthack - rerun

    Final

public 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 " public share curl command can be used to get valid share info[1oz 1op deployed]" in build 2,954 of Onedata Products - gui acceptance pkg - Public shares.
Description
public share curl command can be used to get valid share info[1oz 1op deployed]
Test class
gui.scenarios.test_public_shares
Method
test_public_share_curl_command_can_be_used_to_get_valid_share_info[1oz_1op_deployed]
Duration
42 secs
Status
Failed (Existing Failure)

Error Log

AssertionError: file type: dir not in curl result
fixturefunc = <function assert_curl_result_with_config at 0x7f4e8ac1d1c0>
request = <FixtureRequest for <Function test_public_share_curl_command_can_be_used_to_get_valid_share_info[1oz_1op_deployed]>>
kwargs = {'browser_id': 'browser1', 'config': 'name: share_dir1\nfile type: dir', 'tmp_memory': defaultdict(<class 'dict'>, {'s.../public', 'name': 'share_dir1', 'handleId': None, 'fileType': 'DIR', 'description': '', 'creationTime': 1732944115}}})}

    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 = 'browser1'
tmp_memory = defaultdict(<class 'dict'>, {'space_owner_browser': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}...9/public', 'name': 'share_dir1', 'handleId': None, 'fileType': 'DIR', 'description': '', 'creationTime': 1732944115}}})
config = 'name: share_dir1\nfile type: dir'

    @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: dir not in curl result

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