feat(solution): 발행 워커·버전 관리와 예약·미리보기 정리
상시 프리렌더와 중복 예약 안내를 없애고, 검수된 발행 버전을 보존한다. 미리보기는 실제 렌더 완료까지 스피너를 표시한다. 사이트 81건, 발행·롤백·서치콘솔 45건, 프로세스 수명 3건 통과. 빌더·사이트 빌드 및 compose 설정 검증 통과.
This commit is contained in:
1 parent
0f7d22750f
commit
f2087aad5e
207 files changed
+8424
-4429
No files matched your search
@@ -106,6 +106,15 @@ describe('stayBookingView — 예약에 쓸 값을 고르는 자리', () => {
|
||||
});
|
||||
|
||||
describe('발행 HTML — 예약 섹션이 실제로 나가는가', () => {
|
||||
it('예약 전 확인은 이용안내 안에 한 번만 표시한다', () => {
|
||||
const baked = html();
|
||||
expect(baked.match(/예약 전 확인/g)).toHaveLength(1);
|
||||
expect(baked).not.toContain('id="summary"');
|
||||
const booking = baked.slice(baked.indexOf('id="booking"'));
|
||||
expect(booking).not.toContain('예약 전 확인');
|
||||
expect(baked).toContain('취소·환불 규정');
|
||||
expect(baked).toContain('체크인 시간');
|
||||
});
|
||||
it('요금 · 인원 · 취소 규정 · 예약 창구가 한자리에 있다', () => {
|
||||
const text = visibleText(html());
|
||||
expect(text).toContain('예약 창구');
|
||||
|
||||
Reference in new issue
Block a user