File tree Expand file tree Collapse file tree 1 file changed +1
-26
lines changed
tests/Aspire.Cli.EndToEnd.Tests Expand file tree Collapse file tree 1 file changed +1
-26
lines changed Original file line number Diff line number Diff line change @@ -170,33 +170,8 @@ public async Task AspireAddPackageVersionToDirectoryPackagesProps()
170170 </Project>
171171 """ ) ;
172172
173- var waitingForVersionSelection = new CellPatternSearcher ( )
174- . Find ( "Select a version of" ) ;
175- var versionSelectionShown = false ;
176-
177- await auto . TypeAsync ( "aspire add Aspire.Hosting.Redis" ) ;
173+ await auto . TypeAsync ( "aspire add Aspire.Hosting.Redis --version 13.1.2" ) ;
178174 await auto . EnterAsync ( ) ;
179- await auto . WaitUntilAsync ( s =>
180- {
181- if ( waitingForVersionSelection . Search ( s ) . Count > 0 )
182- {
183- versionSelectionShown = true ;
184- return true ;
185- }
186-
187- var successPromptSearcher = new CellPatternSearcher ( )
188- . FindPattern ( counter . Value . ToString ( ) )
189- . RightText ( " OK] $ " ) ;
190-
191- return successPromptSearcher . Search ( s ) . Count > 0 ;
192- } , timeout : TimeSpan . FromSeconds ( 180 ) , description : "version selection prompt or success prompt" ) ;
193-
194- if ( versionSelectionShown )
195- {
196- // PR hives can surface multiple channels in CI. Accept the default implicit-channel version
197- // so this test validates CPM behavior without pinning a specific package version.
198- await auto . EnterAsync ( ) ;
199- }
200175
201176 await auto . WaitForSuccessPromptAsync ( counter ) ;
202177
You can’t perform that action at this time.
0 commit comments