Commit bace79f0 authored by Mahmoud Aglan's avatar Mahmoud Aglan

fix: add data-testid to chess board for reliable testing

Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
parent 271b0c17
......@@ -437,7 +437,7 @@ export function GamePage() {
{/* Board */}
<div className="flex-1 aspect-square">
<div className="grid grid-cols-8 grid-rows-8 w-full h-full rounded-lg overflow-hidden shadow-xl border border-border">
<div data-testid="chess-board" className="grid grid-cols-8 grid-rows-8 w-full h-full rounded-lg overflow-hidden shadow-xl border border-border">
{renderBoard()}
</div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment