Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
el3ab-Player
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
el3ab-Player
Commits
bace79f0
Commit
bace79f0
authored
May 26, 2026
by
Mahmoud Aglan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: add data-testid to chess board for reliable testing
Co-Authored-By:
Claude Opus 4.6
<
noreply@anthropic.com
>
parent
271b0c17
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
GamePage.tsx
src/pages/GamePage.tsx
+1
-1
No files found.
src/pages/GamePage.tsx
View file @
bace79f0
...
@@ -437,7 +437,7 @@ export function GamePage() {
...
@@ -437,7 +437,7 @@ export function GamePage() {
{
/* Board */
}
{
/* Board */
}
<
div
className=
"flex-1 aspect-square"
>
<
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
()
}
{
renderBoard
()
}
</
div
>
</
div
>
</
div
>
</
div
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment