// 실제 브라우저 — 보드 카드 끌기(필터를 켠 브라우저에서도 섹션 안 순서 변경, 숨은 업무는 제자리)와 // 파일 → 구글 드라이브(설명란 = 놓은 자리에 링크, 보드 카드 = 서버가 설명 끝에 링크 append) (2026-10-19). // 서버는 가짜(이 파일의 http 서버), 화면은 실제 템플릿 렌더 결과. // python tests/js/render_project.py // NODE_PATH= PJ_TEST_BROWSER= node tests/js/board_drive.browser.test.js const fs = require("node:fs"), path = require("node:path"), http = require("node:http"); const { chromium } = require("playwright"); const ROOT = path.resolve(__dirname, "../.."), OUT = path.join(__dirname, ".out"), STATIC = path.join(ROOT, "app/static"); const fails = []; function check(name, cond, extra) { if (cond) console.log("PASS " + name); else { console.log("FAIL " + name + (extra !== undefined ? " → " + JSON.stringify(extra) : "")); fails.push(name); } } // 렌더된 보드(할 일 섹션 = 작업 A·B) 에 완료된 C(필터 "미완료"로 숨김)와 D 를 더한다 function boardHtml() { let html = fs.readFileSync(path.join(OUT, "project_render.html"), "utf8"); return html.replace(/(