짧은 UI 텍스트의 세로 정렬과 두 축 정렬 원칙을 적용한다

This commit is contained in:
2026-09-29 08:51:05 +00:00
parent 295ecb39a3
commit 71155186b7
31 changed files with 293 additions and 3 deletions
@@ -1,3 +1,4 @@
import { verifyVerticalAlignment } from '../../../tools/frontend-legacy-parity/verticalAlignment.js';
import { mkdirSync, writeFileSync } from 'node:fs';
import { resolve } from 'node:path';
@@ -1050,3 +1051,17 @@ test('renders the same Ref season status on the public gateway page', async ({ p
await expect(status).toHaveAttribute('title', '2026-07-30 00:00:00\n~ 2026-07-30 00:05:00');
await expect(page.getByRole('button', { name: '현황 새로고침' })).toBeEnabled();
});
for (const width of [390, 500]) {
test(`모바일 로비 식별 정보와 동작 세로 정렬 ${width}px`, async ({ page }, testInfo) => {
await installFixture(page);
await page.setViewportSize({ width, height: 900 });
await page.goto('lobby');
await verifyVerticalAlignment(page, testInfo, [
'.profile-server-cell',
'.profile-portrait-cell',
'.profile-general-cell',
'.profile-action-cell',
]);
});
}