def METHOD_NAME():
    parser = ArgumentParser(description="Cypress test runner for Wave apps")
    parser.add_argument(
        "-t",
        "--test-dir",
        help="test directory where cypress is installed",
        default=test_path(),
        type=Path,
    )
    parser.add_argument(
        "-d",
        "--delay",
        help="how long should the test wait for app to start",
        type=int,
        default=5,
    )
    parser.add_argument(
        "-l",
        "--log-level",
        help="log level",
        default="info",
    )
    parser.add_argument(
        "-b",
        "--browser",
        help=(
            "runs Cypress in the browser with the given name."
            " if a filesystem path is supplied, Cypress will "
            "attempt to use the browser at that path."
        ),
    )
    parser.add_argument(
        "-w",
        "--start-wave",
        nargs="?",
        const=default_wave_path(),
        default=None,
        metavar="wave_path",
        help="start Wave before running the tests, optionally from the given path"
    )
    parser.add_argument(
        "-wd",
        "--wave-web-dir",
        default=default_web_dir(),
        help='directory to serve Wave web assets from (default "./www")',
    )
    parser.add_argument(
        "-m",
        "--app-module",
        required=True,
        help="python module with wave app",
        type=str,
    )
    args = parser.parse_args()
    logging.basicConfig(
        level=args.log_level.upper(),
        format="%(asctime)s - %(name)s - %(levelname)s - %(message)s",
    )
    run_app_with_test(**vars(args))