I’m getting very strange results when I use the controller.newRecord() command in 2.2rc2-build 320.
If the form has just one record then the record is indeed created but the new record doesn’t get loaded to the form. Therefore any steps following are recorded to the existing singleton record.
However, if I run controller.loadAllRecords() just before creating the new record then the new record is indeed loaded and any following steps are recorded to this new record.
I get the same results whether the form is set for useSeparateFoundSet or not.
Is this predictable and proper behaviour (yet another gap in my understanding) or have I found a bug?