Files
galaxy/lib/tool_shed/test
mvdbeek 2b4b7ed37f Maybe fix flaky navigation in v2 ts tests
The stack trace is this:
```
__ TestSimplePriorInstallation.test_0005_create_convert_repository[chromium] ___

self = <tool_shed.test.functional.test_1170_prior_installation_required.TestSimplePriorInstallation object at 0x7f87c33834c0>

    def test_0005_create_convert_repository(self):
        """Create and populate convert_chars_0150."""
        global running_standalone
        category = self.create_category(name=category_name, description=category_description)
>       self.login(email=common.test_user_1_email, username=common.test_user_1_name)

lib/tool_shed/test/functional/test_1170_prior_installation_required.py:50:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
lib/tool_shed/test/base/twilltestcase.py:776: in login
    previously_created, username_taken, invalid_username = self.create(
lib/tool_shed/test/base/twilltestcase.py:714: in create
    self.visit_url("/user/create", params)
lib/tool_shed/test/base/twilltestcase.py:850: in visit_url
    return self._browser.visit_url(url, allowed_codes=allowed_codes)
lib/tool_shed/test/base/playwrightbrowser.py:31: in visit_url
    response = self._page.goto(url)
.venv/lib/python3.8/site-packages/playwright/sync_api/_generated.py:8851: in goto
    self._sync(
.venv/lib/python3.8/site-packages/playwright/_impl/_page.py:524: in goto
    return await self._main_frame.goto(**locals_to_params(locals()))
.venv/lib/python3.8/site-packages/playwright/_impl/_frame.py:145: in goto
    await self._channel.send("goto", locals_to_params(locals()))
.venv/lib/python3.8/site-packages/playwright/_impl/_connection.py:59: in send
    return await self._connection.wrap_api_call(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <playwright._impl._connection.Connection object at 0x7f873c8bebe0>
cb = <function Channel.send.<locals>.<lambda> at 0x7f87af067550>
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.Error: Page.goto: Navigation to "http://127.0.0.1:8723/user/create?cntrller=user&use_panels=False" is interrupted by another navigation to "http://127.0.0.1:8723/logout_success"
E           Call log:
E           navigating to "http://127.0.0.1:8723/user/create?cntrller=user&use_panels=False", waiting until "load"
```
2024-09-17 17:17:04 +02:00
..
2023-09-26 13:46:58 -04:00
2024-01-01 15:05:19 +02:00