Skip to content

Widget calls requiring browser context hang during testing #99

@alex-treebeard

Description

@alex-treebeard

Describe the bug
The ITKWidgets project cannot test a notebooks that calls a widget which is only initialised when a browser is present

To Reproduce
See InsightSoftwareConsortium/itkwidgets#587

Expected behavior
Can call the initialised widget API successfully

Additional context
This issue occurs because nbclient is an alternative to running a full jupyter web app + server (architecture diagram) and doesn't run a browser context.

Problem cell example

image = itk.image_from_array(array)
print('Dimension', image.GetImageDimension())
print('Components', image.GetNumberOfComponentsPerPixel())

from ipynb.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions