-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhappy-path.e2e.ts.snap
More file actions
182 lines (125 loc) · 9.88 KB
/
Copy pathhappy-path.e2e.ts.snap
File metadata and controls
182 lines (125 loc) · 9.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
exports[`happy-path flow > navigates Welcome → SystemCheck → Authenticate → InstallPlugins → ConnectTools → SelectGoal → OnboardProject → Done > authenticate 1`] = `
" Confidence by Spotify https://confidence.spotify.com/
Sign in to Confidence Todo (2/5)
Sign in so the wizard can create flags and set up your project. ● Check system
● Sign in to Confidence
✔ Authenticated as test@example.com ○ Set up your agent
○ Connect tools
Continuing... ○ Onboard project"
`;
exports[`happy-path flow > navigates Welcome → SystemCheck → Authenticate → InstallPlugins → ConnectTools → SelectGoal → OnboardProject → Done > connect-tools 1`] = `
" Confidence by Spotify https://confidence.spotify.com/
Teach your AI Confidence Todo (3/5)
Give your AI assistant direct access to flags, docs, and ● Check system
integration tools via Confidence MCP. With it, you'll be able to: ● Sign in to Confidence
● Set up your agent
● Ask your agent to create and manage feature flags. ▶ Connect tools
● Search docs and generate code, all from your IDE. ○ Onboard project
● Avoid context-switching or manual lookups. Your assistant has the
keys.
Confidence tools:
─ confidence-flags
─ confidence-docs
──────────────────────────────────────────────────────────────────────────────────────────────────
Connect Confidence tools?
❯ Connect all tools
Connect confidence-flags
Connect confidence-docs
Skip for now
↑↓ navigate enter confirm vX.Y.Z"
`;
exports[`happy-path flow > navigates Welcome → SystemCheck → Authenticate → InstallPlugins → ConnectTools → SelectGoal → OnboardProject → Done > done 1`] = `
" Confidence by Spotify https://confidence.spotify.com/
✔ Confidence is ready!
We've taught Claude Code Confidence skills—try them out with slash commands.
What we have set up:
● Added feature flag example
● Created confidence.config.ts
Full report: [CONFIDENCE_QUICKSTART.md]
Documentation: https://confidence.spotify.com/docs
Dashboard: https://app.confidence.spotify.com
──────────────────────────────────────────────────────────────────────────────────────────────────
What's next?
❯ Continue work with Claude Code
Exit
↑↓ navigate enter confirm esc cancel vX.Y.Z"
`;
exports[`happy-path flow > navigates Welcome → SystemCheck → Authenticate → InstallPlugins → ConnectTools → SelectGoal → OnboardProject → Done > install-plugins 1`] = `
" Confidence by Spotify https://confidence.spotify.com/
Select agent to set up Todo (2/5)
Your agent will get Confidence skills for flag management, ● Check system
warehouse setup, migrations, and onboarding — so it can help ● Sign in to Confidence
without searching the docs. ▶ Set up your agent
○ Connect tools
○ Onboard project
──────────────────────────────────────────────────────────────────────────────────────────────────
Which CLI agent would you like to use?
❯ Claude Code
Cursor
Codex
↑↓ navigate enter confirm vX.Y.Z"
`;
exports[`happy-path flow > navigates Welcome → SystemCheck → Authenticate → InstallPlugins → ConnectTools → SelectGoal → OnboardProject → Done > onboard-project 1`] = `
" Confidence by Spotify https://confidence.spotify.com/
Ready to start? Todo (4/5)
The wizard will: ● Check system
✔ add the Confidence SDK ● Sign in to Confidence
✔ create your first feature flag ● Set up your agent
● Connect tools
◆ The AI agent will be able to read and write files in your ▶ Onboard project
project.
──────────────────────────────────────────────────────────────────────────────────────────────────
Start onboarding?
❯ Start onboarding
Skip for now
↑↓ navigate enter confirm vX.Y.Z"
`;
exports[`happy-path flow > navigates Welcome → SystemCheck → Authenticate → InstallPlugins → ConnectTools → SelectGoal → OnboardProject → Done > select-goal 1`] = `
" Confidence by Spotify https://confidence.spotify.com/
Select the features you'd like to set up Todo (4/5)
Toggle Confidence features to integrate with your project. ● Check system
● Sign in to Confidence
✱ Event Tracking works best with a managed warehouse or an ● Set up your agent
existing warehouse setup. ● Connect tools
▶ Onboard project
✱ Session Recordings (β) require the feature to be enabled on your
Confidence account.
──────────────────────────────────────────────────────────────────────────────────────────────────
Toggle features to set up (select none to skip):
❯ Feature Flags
Event Tracking
Session Recordings (β)
↑↓ navigate space toggle enter confirm vX.Y.Z"
`;
exports[`happy-path flow > navigates Welcome → SystemCheck → Authenticate → InstallPlugins → ConnectTools → SelectGoal → OnboardProject → Done > system-check 1`] = `
" Confidence by Spotify https://confidence.spotify.com/
System Check Todo (1/5)
Checking that your system has everything we need. ● Check system
○ Sign in to Confidence
✔ Node.js vX.Y.Z ○ Set up your agent
✔ Git X.Y.Z ○ Connect tools
○ Onboard project
All checks passed. Continuing..."
`;
exports[`happy-path flow > navigates Welcome → SystemCheck → Authenticate → InstallPlugins → ConnectTools → SelectGoal → OnboardProject → Done > welcome 1`] = `
" Confidence by Spotify https://confidence.spotify.com/
Confidence Quickstart
Feature flags and experiments, set up with AI in minutes.
This wizard will help you get started with Confidence.
1. It will check your system
2. Sign you in to Confidence workspace
3. Teach your AI agent about Confidence
4. Integrate the SDK into your project
5. Show a working feature flag example
Directory ✔ <project-dir>
Framework ✔ React (detected)
Telemetry ✘ off
──────────────────────────────────────────────────────────────────────────────────────────────────
Ready to get started?
❯ Start setup
Change framework
About Confidence
Quit
↑↓ navigate enter confirm vX.Y.Z"
`;