File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 147
147
end
148
148
@test state. name == " cuba"
149
149
@test state. version == v " 1.2.3"
150
+
151
+ state = Wizard. WizardState ()
152
+ with_wizard_output (state, Wizard. step1) do ins, outs
153
+ call_response (ins, outs, " Make a platform selection" , " \r " )
154
+ end
155
+ @test state. platforms == supported_platforms ()
156
+
157
+ state = Wizard. WizardState ()
158
+ with_wizard_output (state, Wizard. step1) do ins, outs
159
+ call_response (ins, outs, " Make a platform selection" , " \e [B\r " )
160
+ call_response (ins, outs, " Select operating systems" , " \e [B\r d" ; newline = false )
161
+ end
162
+
163
+ state = Wizard. WizardState ()
164
+ with_wizard_output (state, Wizard. step1) do ins, outs
165
+ call_response (ins, outs, " Make a platform selection" , " \e [B\e [B\r " )
166
+ call_response (ins, outs, " Select platforms" , " \e [B\r d" ; newline = false )
167
+ end
168
+ @test length (state. platforms) == 1
150
169
end
151
170
152
171
# Set the state up
You can’t perform that action at this time.
0 commit comments