docs: add project docs and test updates

This commit is contained in:
taekyoungc
2026-04-08 00:23:55 +09:00
parent 06fedc866a
commit 06aa401048
238 changed files with 8373 additions and 148 deletions

View File

@@ -16,19 +16,19 @@ test.describe('P2-05/06: 포장 단위 관리', () => {
});
test('포장 단위 목록 접근', async ({ page }) => {
await page.goto('/admin/packaging-units');
await page.goto('/bag/packaging-units/manage');
await expect(page).toHaveURL(/\/admin\/packaging-units/);
});
test('포장 단위 등록 폼 표시', async ({ page }) => {
await page.goto('/admin/packaging-units/create');
await page.goto('/bag/packaging-units/manage/create');
await expect(page.locator('select[name="pu_bag_code"]')).toBeVisible();
await expect(page.locator('input[name="pu_box_per_pack"]')).toBeVisible();
await expect(page.locator('input[name="pu_pack_per_sheet"]')).toBeVisible();
});
test('기간 필터 조회', async ({ page }) => {
await page.goto('/admin/packaging-units?start_date=2026-01-01&end_date=2026-12-31');
await page.goto('/bag/packaging-units/manage?start_date=2026-01-01&end_date=2026-12-31');
await expect(page).toHaveURL(/start_date/);
});
});