mirror of
https://github.com/stablyai/orca.git
synced 2026-10-15 00:02:48 +00:00
26 lines
727 B
TypeScript
26 lines
727 B
TypeScript
import { ONBOARDING_FINAL_STEP } from '../../../src/shared/constants'
|
|
|
|
const SEEN_FIRST_RUN_FEATURE_TIP_IDS = ['voice-dictation'] as const
|
|
|
|
export function getE2ECompletedOnboardingProfile() {
|
|
return {
|
|
settings: {
|
|
telemetry: {
|
|
optedIn: true,
|
|
installId: '00000000-0000-4000-8000-000000000000',
|
|
existedBeforeTelemetryRelease: false
|
|
}
|
|
},
|
|
onboarding: {
|
|
closedAt: 1,
|
|
outcome: 'completed',
|
|
lastCompletedStep: ONBOARDING_FINAL_STEP
|
|
},
|
|
ui: {
|
|
// Why: completed-onboarding E2E profiles should not be interrupted by
|
|
// first-run education modals that cover the UI under test.
|
|
featureTipsSeenIds: [...SEEN_FIRST_RUN_FEATURE_TIP_IDS]
|
|
}
|
|
}
|
|
}
|