# from brainrender.gui.app import App
# from qtpy import QtCore


# def test_simple_launch(qtbot):
#     window = App()
#     qtbot.addWidget(window)
#     window.show()


# def test_toggle_treeview(qtbot):
#     window = App()
#     qtbot.addWidget(window)
#     window.show()
#     qtbot.wait_for_window_shown(window)
#     qtbot.mouseClick(
#         window.buttons["show_structures_tree"], QtCore.Qt.LeftButton
#     )
