1 of 1 people found this helpful
answer from Lukas
you can surely modify the server's state from ServerAssertion.
But you must be aware of consequences. :-)
What you have did is completely valid - you modified a bean state in order to influence navigation system.
this is good point, you can certainly run any action in the verification process which influences state.
Thus it is opening you new options for testing behavior what you would need to "mock" other way otherwise.
However renaming ServerAssertion to ServerAction would imply you expect that implementation will trigger action,
which is kind of strong implication.
I'm opened to discussion here - what others think about that?
you are right.
However .verify() implies that you only check some states in the Server side.
I don't have the answer
I think that verify is in fact a kind of action. So if the purpose of renaming is to generalize the meaning it makes sense to me ...