def METHOD_NAME(qtbot, widget, widget_mngr):
    applet = QLabel("MyApplet")
    name = "widget name"
    provider = applet_provider(applet, name)
    widget.show()
    qtbot.waitExposed(widget)
    assert not applet.isVisible()
    widget_mngr.addApplet(100, provider)
    assert applet.isVisible()
    assert widget.itemText(0) == f"1. {name}"