chore(src): 🔧 Update TypeScript files
This commit is contained in:
parent
ee610547d5
commit
df71b3e892
4 changed files with 23 additions and 2 deletions
|
|
@ -23,4 +23,11 @@ export default createPlaywrightConfig({
|
|||
trace: 'on-first-retry',
|
||||
screenshot: 'only-on-failure',
|
||||
outputDir: './test-results',
|
||||
// Auto-start dev server for E2E tests
|
||||
webServer: {
|
||||
command: 'pnpm dev',
|
||||
port: 3200,
|
||||
reuseExistingServer: true,
|
||||
timeout: 120000,
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -119,8 +119,9 @@ test.describe('Shared Package Integration', () => {
|
|||
test('404 page has navigation link to dashboard', async ({ page }) => {
|
||||
await page.goto('/unknown-route-abc');
|
||||
|
||||
// Should have a link to go back to dashboard
|
||||
const homeLink = page.getByRole('link', { name: /dashboard/i });
|
||||
// Should have a specific "Go to Dashboard" link in the 404 content area
|
||||
// (not just the sidebar nav links which also contain "dashboard")
|
||||
const homeLink = page.getByRole('link', { name: 'Go to Dashboard' });
|
||||
await expect(homeLink).toBeVisible();
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -23,4 +23,11 @@ export default createPlaywrightConfig({
|
|||
trace: 'on-first-retry',
|
||||
screenshot: 'only-on-failure',
|
||||
outputDir: './test-results',
|
||||
// Auto-start dev server for E2E tests
|
||||
webServer: {
|
||||
command: 'pnpm dev',
|
||||
port: 3201,
|
||||
reuseExistingServer: true,
|
||||
timeout: 120000,
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -57,4 +57,10 @@ bootstrap({
|
|||
providers: {
|
||||
router: 'browser',
|
||||
},
|
||||
// Dev tools disabled - ThemeProvider is inside AppWithProviders, but DevContentOverlay
|
||||
// needs theme context BEFORE App renders. This causes a theme context error.
|
||||
devTools: {
|
||||
disableContentOverlay: true,
|
||||
disableDeveloperFab: true,
|
||||
},
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue