fix(docs): add sleep to docs test with animation