fix(curriculum): Update column count test in Book Inventory App (#64620)

Co-authored-by: majestic-owl448 <26656284+majestic-owl448@users.noreply.github.com>
This commit is contained in:
Tanish Mundra
2025-12-16 14:18:27 +05:30
committed by GitHub
parent 09148e0cd9
commit 58b0c55124

View File

@@ -54,7 +54,11 @@ assert.equal(document.querySelectorAll('table')?.length, 1);
Your `table` element should have five columns.
```js
assert.equal(document.querySelectorAll('th')?.length, 5);
const rows = document.querySelectorAll('tr');
assert.isNotEmpty(rows);
for (const row of rows) {
assert.equal(row.children.length, 5);
}
```
Your first column should have the text `Title` as the heading.