@attr("no-coverage")
    def test_form_submit_dynamic(self):
        assert RANDOM_PARAMS["FORM_INPUT_VALUE"] not in self.app.html
        form_html = """
        <form action="BindingTest.appname_form_submit" id="{}"
        data-bind="true">
            <input type="text" id="{}_input" name="name">
            <br>
            <input type="submit" id="{}_button">
        </form>""".format(*([RANDOM_PARAMS["DYNAMIC_FORM_ID"]]*3))

        self.app.evaluate_javascript(
            "document.body.innerHTML += '{}'".format(
                form_html.replace("\n", ";")))
        self.form_submitter(RANDOM_PARAMS["DYNAMIC_FORM_ID"])
        assert RANDOM_PARAMS["FORM_INPUT_VALUE"] in self.app.html
dataset/ETHPy150Open amol-mandhane/htmlPy/tests/test_app_gui_binding.py/TestAppGUIBinding.test_form_submit_dynamic/original