You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sven Meier (JIRA)" <ji...@apache.org> on 2017/08/18 08:04:00 UTC

[jira] [Resolved] (WICKET-6446) FormTester submit() doesn't work

     [ https://issues.apache.org/jira/browse/WICKET-6446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sven Meier resolved WICKET-6446.
--------------------------------
    Resolution: Invalid
      Assignee: Sven Meier

You're not submitting any button, change your test as follows:

{code}
tester.newFormTester("test:form").submit("submit");
{code}

> FormTester submit() doesn't work
> --------------------------------
>
>                 Key: WICKET-6446
>                 URL: https://issues.apache.org/jira/browse/WICKET-6446
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 8.0.0-M6
>            Reporter: Kamil
>            Assignee: Sven Meier
>         Attachments: showcase-submit.zip
>
>
> 1)Run the app.
> 2)Click submit -> it works
> Run the "formShouldBeSubmittedSuccessfully" test - it fails



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)