def METHOD_NAME(self, get_app):
    """
    Tests how fast the app can update its theme
    """
    runs = []
    for run in range(3):
        # Close any open frames
        for frame in get_app._allFrames:
            frame().Close()
        # Set theme
        get_app.theme = "PsychopyLight"
        # Open one of each frame
        get_app.newBuilderFrame()
        get_app.showCoder()
        get_app.newRunnerFrame()
        # Open some example files
        get_app.builder.fileOpen(filename=str(
                Path(TESTS_DATA_PATH) / "test_loops" / "testLoopsBlocks.psyexp"
        ))
        get_app.coder.fileOpen(filename=str(
                Path(TESTS_DATA_PATH) / "correctScript" / "python" / "correctKeyboardComponent.py"
        ))
        get_app.coder.fileOpen(filename=str(
                Path(TESTS_DATA_PATH) / "correctScript" / "js" / "correctKeyboardComponent.js"
        ))
        # Start timer
        start = time.time()
        # Change theme
        get_app.theme = "PsychopyDark"
        # Stop timer
        finish = time.time()
        # Store runtime
        runs.append(finish - start)
    # Check times
    avg = float(numpy.mean(runs))
    # Log result
    logging.info(f"Average time to change theme: {avg} ({len(runs)} runs: {runs})")
    # <0.5 is the goal
    if avg >= 0.5:
        logging.warn(
            f"App took longer than expected to change theme, but not longer than is acceptable. Expected <0.4s, "
            f"got {avg}."
        )
    # ...but anything <1 isn't worth failing the tests over
    assert avg < 1, (
        f"App took longer than acceptable to change theme. Expected <0.4s, allowed <1s, got {avg}."
    )