Skip to content

Commit 9fe90f2

Browse files
committed
test(desktop): seed the Usage settings fixture through Host stores
1 parent c9b8a5f commit 9fe90f2

4 files changed

Lines changed: 234 additions & 150 deletions

File tree

apps/desktop/src/main/e2e-fixture.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import {
2727
writeScheduledTasks,
2828
writeSettings,
2929
} from './e2e-fixture/scenarios-settings.js';
30-
import { usageStatsSessions } from './e2e-fixture/scenarios-usage.js';
30+
import { seedUsageStatsFixture, usageStatsSessions } from './e2e-fixture/scenarios-usage.js';
3131

3232
const E2E_FIXTURE_SCENARIOS = new Set<E2eFixtureScenario>([
3333
'settings-models',
@@ -220,5 +220,6 @@ export async function seedE2eFixture(input: {
220220
for (const seed of usageStatsSessions(now)) {
221221
await writeSession(input.workspaceRoot, seed.header, seed.messages);
222222
}
223+
await seedUsageStatsFixture(input.workspaceRoot, now);
223224
}
224225
}

0 commit comments

Comments
 (0)