사이트 메뉴 CRUD를 /bag/* 경로로 통합 — 관리자 레이아웃 혼용 해결

- Bag 컨트롤러에 create/store 메서드 추가 (불출/발주/입고/판매/주문)
- bag용 create 뷰 5개 생성 (form action을 /bag/*로 변경)
- 모든 등록/취소 버튼을 /admin/* → /bag/*로 변경
- 사이트 레이아웃이 CRUD 전체에서 유지됨
- playwright.production.config.js 추가 (도메인 테스트용)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
javamon1174
2026-03-26 16:13:07 +09:00
parent f6a64e07b8
commit 39ee71cc80
11 changed files with 500 additions and 8 deletions

View File

@@ -0,0 +1,22 @@
// @ts-check
const { defineConfig } = require('@playwright/test');
module.exports = defineConfig({
testDir: './e2e',
fullyParallel: false,
workers: 1,
timeout: 60000,
reporter: 'list',
use: {
baseURL: 'https://trash.wxn.co.kr',
ignoreHTTPSErrors: true,
screenshot: 'only-on-failure',
locale: 'ko-KR',
},
projects: [
{
name: 'chromium',
use: { browserName: 'chromium' },
},
],
});