Suggesting testing insert/update/insert such that it exceeds the capped limit, both in a successful operation and as part of a txn that rolls back.
Docs for SERVER-40684: Ban transactions against capped collections on non-shard-servers
Rolling back a prepared transaction on a capped collection leads to an invariant failure
Ban transaction snapshot reads on capped collections
Reads against capped collections aren't banned within transactions