@@ -56,9 +56,6 @@ async fn setup_mock_custom_port(world: &mut E2eWorld) {
5656 world. mock = Some ( mock) ;
5757}
5858
59- #[ given( "the server is registered as a managed service" ) ]
60- async fn setup_registered_service ( _world : & mut E2eWorld ) { }
61-
6259#[ given( "a model is being served on GPU" ) ]
6360async fn setup_gpu_model ( world : & mut E2eWorld ) {
6461 let ( stdout, _, rc) = run_rocm (
@@ -181,7 +178,7 @@ async fn assert_consistent_expansion(world: &mut E2eWorld) {
181178 }
182179}
183180
184- #[ then( "the service appears with the correct model name and endpoint " ) ]
181+ #[ then( "the service appears with the correct model name and connection details " ) ]
185182async fn assert_service_in_list ( world : & mut E2eWorld ) {
186183 let ( stdout, _, _) = run_rocm ( world, & [ "services" , "list" ] ) ;
187184 let model = world. model_name . as_deref ( ) . unwrap_or ( "" ) ;
@@ -195,7 +192,7 @@ async fn assert_service_in_list(world: &mut E2eWorld) {
195192 ) ;
196193}
197194
198- #[ then( "the endpoint matches the actual server port" ) ]
195+ #[ then( "the connection details match the actual server port" ) ]
199196async fn assert_endpoint_port ( world : & mut E2eWorld ) {
200197 let mock = world. mock . as_ref ( ) . expect ( "no mock server running" ) ;
201198 let port = mock. port ( ) ;
@@ -206,7 +203,7 @@ async fn assert_endpoint_port(world: &mut E2eWorld) {
206203 ) ;
207204}
208205
209- #[ then( "the serve command does not fail with a dependency error " ) ]
206+ #[ then( "the model is served successfully " ) ]
210207async fn assert_no_dependency_error ( world : & mut E2eWorld ) {
211208 let stdout = world. cli_output . as_deref ( ) . unwrap_or ( "" ) ;
212209 let stderr = world. cli_stderr . as_deref ( ) . unwrap_or ( "" ) ;
@@ -231,7 +228,7 @@ async fn assert_engine_auto_selected(world: &mut E2eWorld) {
231228 ) ;
232229}
233230
234- #[ then( "the model is reachable at the reported endpoint " ) ]
231+ #[ then( "the model is reachable" ) ]
235232async fn assert_model_reachable ( world : & mut E2eWorld ) {
236233 let endpoint = world. endpoint . as_ref ( ) . expect ( "no endpoint configured" ) ;
237234 let url = format ! ( "{endpoint}/models" ) ;
@@ -248,7 +245,7 @@ async fn assert_model_reachable(world: &mut E2eWorld) {
248245 ) ;
249246}
250247
251- #[ then( "the endpoint responds to inference requests" ) ]
248+ #[ then( "the model responds to inference requests" ) ]
252249async fn assert_endpoint_responds ( world : & mut E2eWorld ) {
253250 crate :: send_chat ( world) . await ;
254251 let resp = world. chat_response . as_ref ( ) . expect ( "no chat response" ) ;
0 commit comments