mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
fix(electron): shell should import renderer css in dev (#7805)
This commit is contained in:
@@ -2,6 +2,7 @@ import 'setimmediate';
|
|||||||
import '@affine/component/theme/global.css';
|
import '@affine/component/theme/global.css';
|
||||||
import '@affine/component/theme/theme.css';
|
import '@affine/component/theme/theme.css';
|
||||||
import '@affine/core/bootstrap/preload';
|
import '@affine/core/bootstrap/preload';
|
||||||
|
import '../global.css';
|
||||||
|
|
||||||
import { ThemeProvider } from '@affine/component/theme-provider';
|
import { ThemeProvider } from '@affine/component/theme-provider';
|
||||||
import { configureAppTabsHeaderModule } from '@affine/core/modules/app-tabs-header';
|
import { configureAppTabsHeaderModule } from '@affine/core/modules/app-tabs-header';
|
||||||
|
|||||||
@@ -87,7 +87,9 @@ export const test = base.extend<{
|
|||||||
window.localStorage.setItem('dismissAiOnboardingLocal', 'true');
|
window.localStorage.setItem('dismissAiOnboardingLocal', 'true');
|
||||||
});
|
});
|
||||||
|
|
||||||
await page.reload();
|
await page.reload({
|
||||||
|
timeout: 30000,
|
||||||
|
});
|
||||||
|
|
||||||
await use(page as Page);
|
await use(page as Page);
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user