Describe your issue
Subject: UI test failure — global border color mismatch in CSS exercise
Priority: High (test suite failing for students)
Environment:
- Platform: CodeChef (online editor / exercise test runner)
- Browser / OS: unknown (student screenshot attached)
- Screenshot (local): /mnt/data/codechef bug1.png
- Files shown in screenshot: index.html, style.css
- Visible CSS in editor:
* {
border: 1px solid blue;
}
Problem summary:
The platform’s automated test expects the global border color to be the named color "blue", but the test runner receives computed RGB values (rgb(0, 0, 255)) or multiple concatenated rgb(…) strings and fails strict equality. This causes the test “Did you apply a global border style with 1px solid blue to all elements?” to fail even when the student used border: 1px solid blue;.
Exact failure message (from screenshot):
Error: expect(received).toBe(expected) // Object.is equality
Expected: "blue"
Received: "rgb(0, 0, 255) rgb(0, 0, 255) rgb(0, 0, 255)"
...
