feat: enhance test setup with splash screen handling and sandbox warnings

- Added `skipSandboxWarning` option to project setup functions to streamline testing.
- Implemented logic to disable the splash screen during tests by setting `automaker-splash-shown` in sessionStorage.
- Introduced a new package.json for a test project and added a test image to the fixtures for improved testing capabilities.
This commit is contained in:
webdevcody
2026-01-07 16:31:48 -05:00
parent 11b1bbc143
commit 763f9832c3
4 changed files with 17 additions and 0 deletions

View File

@@ -89,6 +89,7 @@ export async function setupProjectWithFixture(
currentView: 'board',
theme: 'dark',
sidebarOpen: true,
skipSandboxWarning: true,
apiKeys: { anthropic: '', google: '' },
chatSessions: [],
chatHistoryOpen: false,