fix: 실적 표 칸 풍선 도움말 제거 · 댓글 사진 창 기본 맞춤(창에 꽉 차게)
- [실적] 매출 실적·광고비 표 몸통 칸(입력 칸·날짜 칸·광고비 줄)의 title 풍선 도움말 제거(저장 뒤에도 안 붙임), 열 머리글은 그대로 - [프로젝트] 댓글 사진 이미지 창: 처음 = 맞춤, 창 크기 = 사진 비율이라 가장자리 검은 공간 없이 꽉 참, 막대는 사진 위에 뜸, 창 크기를 바꿔도 맞춤 상태면 다시 맞춤(확대·끌기 뒤엔 그대로) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -35,6 +35,11 @@ async function memoFlow(browser, file, kind, code, day, hasMemo, label) {
|
||||
r.fulfill({ status: 200, contentType: "text/html; charset=utf-8", body: page(file) });
|
||||
});
|
||||
await p.goto("http://perf.test/performance/");
|
||||
// 칸 풍선 도움말 없음(2026-10-22) — 표 몸통 칸(날짜·금액·광고비 줄)과 그 안 어디에도 title 이 없다(열 머리글은 그대로)
|
||||
const tips = await p.evaluate(function () {
|
||||
return Array.from(document.querySelectorAll(".perf-main tbody [title]")).map(function (n) { return n.tagName + ":" + n.getAttribute("title"); });
|
||||
});
|
||||
check(label + " 표 칸에 풍선 도움말(title) 없음", tips.length === 0, tips.slice(0, 5));
|
||||
const td = '[data-manual-code="' + code + '"][data-date="' + day + '"]';
|
||||
// 표를 스크롤하면 열린 메뉴는 닫힌다(사람은 스크롤한 뒤 우클릭) — 오른쪽 끝 열(기타광고비)은 먼저 보이게 스크롤해 둔다
|
||||
const show = async function (sel) { await p.locator(sel).scrollIntoViewIfNeeded(); await p.waitForTimeout(80); };
|
||||
@@ -81,6 +86,7 @@ async function memoFlow(browser, file, kind, code, day, hasMemo, label) {
|
||||
await p.click(".perf-ctx button.is-danger");
|
||||
await p.waitForFunction(function (sel) { return !document.querySelector(sel).classList.contains("has-memo"); }, td);
|
||||
check(label + " 메모 삭제 → 빈 메모로 저장, 표시 사라짐", puts[puts.length - 1].memo === "");
|
||||
check(label + " 저장한 뒤에도 칸에 풍선 도움말 없음", !(await p.getAttribute(td, "title")));
|
||||
// 칸 왼쪽 클릭은 예전처럼 금액 입력
|
||||
await p.click(td);
|
||||
check(label + " 칸 클릭은 그대로 금액 입력", !!(await p.$(td + " .perf-manual-input")));
|
||||
|
||||
Reference in New Issue
Block a user