From 58b0c551243ef2e095a8bc158620ec4eae4945ee Mon Sep 17 00:00:00 2001 From: Tanish Mundra Date: Tue, 16 Dec 2025 14:18:27 +0530 Subject: [PATCH] fix(curriculum): Update column count test in Book Inventory App (#64620) Co-authored-by: majestic-owl448 <26656284+majestic-owl448@users.noreply.github.com> --- .../lab-book-inventory-app/66a207974c806a19d6607073.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/curriculum/challenges/english/blocks/lab-book-inventory-app/66a207974c806a19d6607073.md b/curriculum/challenges/english/blocks/lab-book-inventory-app/66a207974c806a19d6607073.md index 842db012f02..48fa64ba78d 100644 --- a/curriculum/challenges/english/blocks/lab-book-inventory-app/66a207974c806a19d6607073.md +++ b/curriculum/challenges/english/blocks/lab-book-inventory-app/66a207974c806a19d6607073.md @@ -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.