Subject: UI test failure — table cell border width check returns empty string

Describe your issue

Priority: High (students receiving false negatives)

Environment:

  • Platform: CodeChef (online editor / exercise test runner)
  • Screenshot (local): /mnt/data/code\ chef\ bug2.png
  • Files visible in screenshot: index.html, style.css
  • Visible CSS excerpt:
table {
  border-collapse: collapse;
  width: 100%;
}

th, td {
  padding: 10px;
  text-align: left;
  border: 1px solid #000000;
}

Problem summary:
The automated test for “Are the table cells (th, td) having 1px solid black border, 10px padding, and left text alignment?” fails with an assertion showing Expected: "1px" and Received: "" (empty string), even though the stylesheet contains border: 1px solid #000000; for th, td. This results in a false negative.

Exact failure snippet (from screenshot):

Error: expect(received).toBe(expected) // Object.is equality

Expected: "1px"
Received: ""

Screenshot

Additional info

Hi @rcp_231101080 , Thank you for your feedback.
I have fixed the issue. Please let me know if you are still experiencing any problems.