Enhancement in appui\sync: checks if the recording corresponds to the action order before sending an error