fix(electron): shell should import renderer css in dev (#7805)

This commit is contained in:
pengx17 2024-08-09 07:02:33 +00:00
parent 4beedaa22c
commit 009b5353b1
No known key found for this signature in database
GPG Key ID: 23F23D9E8B3971ED
2 changed files with 4 additions and 1 deletions

View File

@ -2,6 +2,7 @@ import 'setimmediate';
import '@affine/component/theme/global.css';
import '@affine/component/theme/theme.css';
import '@affine/core/bootstrap/preload';
import '../global.css';
import { ThemeProvider } from '@affine/component/theme-provider';
import { configureAppTabsHeaderModule } from '@affine/core/modules/app-tabs-header';

View File

@ -87,7 +87,9 @@ export const test = base.extend<{
window.localStorage.setItem('dismissAiOnboardingLocal', 'true');
});
await page.reload();
await page.reload({
timeout: 30000,
});
await use(page as Page);
},