Please use the following data-testid attributes in your React component:
data-testid
btn-rock
btn-paper
btn-scissor
player-choice
computer-choice
result
player-score
computer-score
reset
Solve Similar questions 🔥
Want to upskill? Explore our courses!
Namaste AI
Learn to build modern AI applications with real-world projects.
Namaste DSA
Master DSA from scratch with numerous problems, and expert guidance.
Namaste React
Wanna dive deep into React and become Frontend Expert? Learn with me now!
Namaste Frontend System Design
The most comprehensive and detailed course for frontend system design.
Namaste Node.js
Wanna dive deep into Node.js? Enroll into `Namaste Node.js` now!