The tree carried uncommitted work from several areas (web push, mobile screens, admin charts, test-hygiene cleanup, CI and map docs). It is landed as one commit so the release pipeline can start from a clean tree; the desktop transcript-correction behaviour shipped in the previous commit and is unchanged here.
21 lines
950 B
TypeScript
21 lines
950 B
TypeScript
// apps/desktop/tests/e2e/customer-support.spec.ts
|
|
// 고객지원 계약: 사이드바에서 열리고, FAQ/문의 두 탭을 제공하며, Esc 로 닫힌다.
|
|
// (기존 launch_readiness 스펙은 특정 광고 문구와 개발 머신 스크린샷 경로에 의존해 실패가 잦았다.)
|
|
|
|
import { expect, expectNoRuntimeErrors, test } from './support/electron-app'
|
|
|
|
test.describe('고객지원', () => {
|
|
test('사이드바에서 열리고 두 탭을 제공하며 Esc 로 닫힌다', async ({ mainWindow }) => {
|
|
const dialog = mainWindow.window.getByRole('dialog')
|
|
|
|
await mainWindow.window.getByTestId('nav-support').click()
|
|
await expect(dialog).toBeVisible()
|
|
await expect(dialog.getByRole('tab')).toHaveCount(2)
|
|
await expect(dialog.getByRole('tab', { selected: true })).toHaveCount(1)
|
|
|
|
await mainWindow.window.keyboard.press('Escape')
|
|
await expect(dialog).toBeHidden()
|
|
|
|
expectNoRuntimeErrors(mainWindow)
|
|
})
|
|
})
|