import { test, expect } from '@playwright/test'

test.describe('KBX Fast Entry / Bulk Grid',()=>{
  test('catalog exposes explicit fast-entry actions and server-side whole-result selection',async({page})=>{
    await page.goto('/internal/kbx/catalog?density=compact')
    await expect(page.getByRole('heading',{name:'Fast Entry Grid'})).toBeVisible()
    await expect(page.getByRole('button',{name:'행 추가'})).toBeVisible()
    await expect(page.getByRole('button',{name:'행 복제'})).toBeVisible()
    await expect(page.getByRole('button',{name:'아래 채우기'})).toBeVisible()
    await expect(page.getByRole('button',{name:/검색결과 82,415건 전체선택/})).toBeVisible()
  })
})
