Re: Wizard vs WicketTester

2020-04-04 Thread Maxim Solodovnik
This is WebSocketAwareCsrfPreventionRequestCycleListener who is unhappy :(
Thanks for the hint :))

On Sat, 4 Apr 2020 at 20:07, Maxim Solodovnik  wrote:

> As usual everything works in test :(
> Going to check what is the difference
>
> Shall I commit basic test to master?
>
> On Sat, 4 Apr 2020 at 17:32, Sven Meier  wrote:
>
>> Hi Maxim,
>>
>>  > lastRendered page === 'null' after submit
>>  > Maybe I'm doing something wrong?
>>
>> it seems so. Check the log output and/or provide a testcase please.
>>
>> Have fun
>> Sven
>>
>>
>> On 04.04.20 07:35, Maxim Solodovnik wrote:
>> > Hello All,
>> >
>> > I'm trying to to test Wizard with WicketTester
>> > Wizard is the component with "splitted" form which is partially
>> submitted
>> > multiple times
>> > FormTester allows only single submit
>> >
>> > it's not a problem to create second FormTester BUT lastRendered page ===
>> > 'null' after submit :(
>> >
>> > Maybe I'm doing something wrong?
>> >
>> > BTW there is no tests for Wizard in Wicket code base, only WizardModel
>> is
>> > tested
>> >
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>
> --
> Best regards,
> Maxim
>


-- 
Best regards,
Maxim


Re: Wizard vs WicketTester

2020-04-04 Thread Maxim Solodovnik
As usual everything works in test :(
Going to check what is the difference

Shall I commit basic test to master?

On Sat, 4 Apr 2020 at 17:32, Sven Meier  wrote:

> Hi Maxim,
>
>  > lastRendered page === 'null' after submit
>  > Maybe I'm doing something wrong?
>
> it seems so. Check the log output and/or provide a testcase please.
>
> Have fun
> Sven
>
>
> On 04.04.20 07:35, Maxim Solodovnik wrote:
> > Hello All,
> >
> > I'm trying to to test Wizard with WicketTester
> > Wizard is the component with "splitted" form which is partially submitted
> > multiple times
> > FormTester allows only single submit
> >
> > it's not a problem to create second FormTester BUT lastRendered page ===
> > 'null' after submit :(
> >
> > Maybe I'm doing something wrong?
> >
> > BTW there is no tests for Wizard in Wicket code base, only WizardModel is
> > tested
> >
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

-- 
Best regards,
Maxim


Re: Wizard vs WicketTester

2020-04-04 Thread Sven Meier

Hi Maxim,

> lastRendered page === 'null' after submit
> Maybe I'm doing something wrong?

it seems so. Check the log output and/or provide a testcase please.

Have fun
Sven


On 04.04.20 07:35, Maxim Solodovnik wrote:

Hello All,

I'm trying to to test Wizard with WicketTester
Wizard is the component with "splitted" form which is partially submitted
multiple times
FormTester allows only single submit

it's not a problem to create second FormTester BUT lastRendered page ===
'null' after submit :(

Maybe I'm doing something wrong?

BTW there is no tests for Wizard in Wicket code base, only WizardModel is
tested



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Wizard vs WicketTester

2020-04-03 Thread Maxim Solodovnik
Hello All,

I'm trying to to test Wizard with WicketTester
Wizard is the component with "splitted" form which is partially submitted
multiple times
FormTester allows only single submit

it's not a problem to create second FormTester BUT lastRendered page ===
'null' after submit :(

Maybe I'm doing something wrong?

BTW there is no tests for Wizard in Wicket code base, only WizardModel is
tested

-- 
Best regards,
Maxim