Restore admin shell and harden smoke tests
TaxBaik CI/CD / build-and-deploy (push) Successful in 4m37s
TaxBaik CI/CD / build-and-deploy (push) Successful in 4m37s
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user