Restore admin shell and harden smoke tests
TaxBaik CI/CD / build-and-deploy (push) Successful in 4m37s

This commit is contained in:
2026-07-08 01:49:03 +09:00
parent 8bd100707a
commit ecd40e7856
3 changed files with 17 additions and 2 deletions
+12
View File
@@ -27,6 +27,11 @@ const required = [
file: 'tests/e2e/route-isolation.spec.ts',
pattern: 'admin login boots the admin app under the admin base path',
message: '관리자 base path 하네스가 필요합니다.'
},
{
file: 'tests/e2e/admin-smoke.spec.ts',
pattern: '.admin-shell',
message: '관리자 셸 렌더 검증이 필요합니다.'
}
];
@@ -60,6 +65,13 @@ for (const file of adminFiles) {
failed = true;
}
}
if (file === 'src/TaxBaik.Web.Client/Components/Admin/Layout/MainLayout.razor') {
if (!text.includes('<AdminShell>')) {
console.error('[route-lint] FAIL MainLayout: admin shell wrapper should be restored.');
failed = true;
}
}
}
if (failed) process.exit(1);