diff --git a/src/Components/App/App.test.tsx b/src/Components/App/App.test.tsx index 8afe829..f06c68b 100644 --- a/src/Components/App/App.test.tsx +++ b/src/Components/App/App.test.tsx @@ -1,6 +1,7 @@ import * as React from 'react'; import { loadEnv } from 'vite'; import { beforeEach, describe, expect, it } from 'vitest'; +import { FAST_BOOT } from '../../utils/default'; import { fireEvent, render, RenderResult, screen } from '../../utils/test-utils'; import { App } from './App'; @@ -14,11 +15,19 @@ describe.concurrent('App', () => { }); it('New editor', async() => { + if (FAST_BOOT) { + return; + } + const start = app.getByText(/Start from scratch/i); fireEvent.click(start); }, 10000); it('Load editor by file', () => { + if (FAST_BOOT) { + return; + } + const load = app.getByText(/Load a configuration file/i); fireEvent.click(load);