feat: 한국어 우선 쇼케이스 정리
This commit is contained in:
parent
e4087c29f5
commit
2b7fa32b5b
109 changed files with 437 additions and 279 deletions
|
|
@ -170,7 +170,8 @@ for (const [app, views] of [["gaon-lms", GAON_VIEWS], ["dure-enrollment", DURE_V
|
|||
|
||||
await page.setViewport({ width: 390, height: 844, isMobile: true, hasTouch: true });
|
||||
await openApp(page, app);
|
||||
const brandLines = await page.evaluate("window.__lines(document.querySelector('.brand, .appbar .brand'))");
|
||||
// 브랜드 마크의 세로 중앙 정렬 차이는 줄바꿈이 아니다. 실제 브랜드 문구만 센다.
|
||||
const brandLines = await page.evaluate("window.__textLines(document.querySelector('.brand, .appbar .brand'))");
|
||||
if (brandLines > 1) fail(`${app} 브랜드 세로 쌓임`, brandLines + "줄");
|
||||
else pass(`${app} 브랜드 1줄`);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue