@@ -164,7 +164,7 @@ describe('StopPane', () => {
164164 // Component should render but not show arrival data since fetch is pending
165165 // Check that the main content areas are not present
166166 expect ( screen . queryByText ( 'Pine St & 3rd Ave' ) ) . not . toBeInTheDocument ( ) ;
167- expect ( screen . queryByText ( 'Stop #1_75403 ' ) ) . not . toBeInTheDocument ( ) ;
167+ expect ( screen . queryByText ( 'Stop #75403 ' ) ) . not . toBeInTheDocument ( ) ;
168168 } ) ;
169169
170170 test ( 'displays arrival data when provided directly' , async ( ) => {
@@ -197,7 +197,7 @@ describe('StopPane', () => {
197197 expect ( screen . getByText ( 'Pine St & 3rd Ave' ) ) . toBeInTheDocument ( ) ;
198198 } ) ;
199199
200- expect ( screen . getByText ( 'Stop #1_75403 ' ) ) . toBeInTheDocument ( ) ;
200+ expect ( screen . getByText ( 'Stop #75403 ' ) ) . toBeInTheDocument ( ) ;
201201 expect ( screen . getByText ( 'Routes: 10, 11' ) ) . toBeInTheDocument ( ) ;
202202 } ) ;
203203
@@ -219,7 +219,7 @@ describe('StopPane', () => {
219219 { timeout : 3000 }
220220 ) ;
221221
222- expect ( screen . getByText ( 'Stop #1_75403 ' ) ) . toBeInTheDocument ( ) ;
222+ expect ( screen . getByText ( 'Stop #75403 ' ) ) . toBeInTheDocument ( ) ;
223223 expect ( screen . getByText ( 'Routes: 10, 11' ) ) . toBeInTheDocument ( ) ;
224224 } ) ;
225225
@@ -262,7 +262,7 @@ describe('StopPane', () => {
262262
263263 await waitFor ( ( ) => {
264264 expect ( screen . getByText ( 'Pine St & 3rd Ave' ) ) . toBeInTheDocument ( ) ;
265- expect ( screen . getByText ( 'Stop #1_75403 ' ) ) . toBeInTheDocument ( ) ;
265+ expect ( screen . getByText ( 'Stop #75403 ' ) ) . toBeInTheDocument ( ) ;
266266 } ) ;
267267 } ) ;
268268
@@ -498,7 +498,7 @@ describe('StopPane', () => {
498498
499499 const headings = screen . getAllByRole ( 'heading' , { level : 2 } ) ;
500500 expect ( headings ) . toHaveLength ( 2 ) ;
501- expect ( headings [ 0 ] ) . toHaveTextContent ( 'Stop #1_75403 ' ) ;
501+ expect ( headings [ 0 ] ) . toHaveTextContent ( 'Stop #75403 ' ) ;
502502 expect ( headings [ 1 ] ) . toHaveTextContent ( 'Routes: 10, 11' ) ;
503503 } ) ;
504504 } ) ;
0 commit comments