@@ -137,11 +137,11 @@ test.describe(
137137 await expect (
138138 card . getByRole ( 'columnheader' , { name : 'Status' , exact : true } ) ,
139139 ) . toBeVisible ( ) ;
140+ // TODO(needs-backend): Re-enable when BAIRouteNodes exposes the Traffic
141+ // Status column. It is currently commented out in BAIRouteNodes.tsx
142+ // pending backend support for per-route traffic status (FR-2591).
140143 await expect (
141- card . getByRole ( 'columnheader' , { name : 'Traffic Status' } ) ,
142- ) . toBeVisible ( ) ;
143- await expect (
144- card . getByRole ( 'columnheader' , { name : 'Traffic Ratio' } ) ,
144+ card . getByRole ( 'columnheader' , { name : 'Created At' } ) ,
145145 ) . toBeVisible ( ) ;
146146 } ) ;
147147
@@ -305,7 +305,11 @@ test.describe(
305305 // 3. Property Filter
306306 // ─────────────────────────────────────────────────────────────────────────
307307
308- test ( '3.1 Admin can see the Traffic Status filter property in the property filter selector' , async ( {
308+ // TODO(needs-backend): Re-enable when the EndpointDetailPage route property
309+ // filter exposes a "Traffic Status" option. The filter is currently only
310+ // populated with Health Status, pending backend support for per-route
311+ // traffic status (FR-2591).
312+ test . fixme ( '3.1 Admin can see the Traffic Status filter property in the property filter selector' , async ( {
309313 page,
310314 request,
311315 } ) => {
@@ -325,7 +329,9 @@ test.describe(
325329 await page . keyboard . press ( 'Escape' ) ;
326330 } ) ;
327331
328- test ( '3.2 Admin can filter routes by trafficStatus ACTIVE using the property filter' , async ( {
332+ // TODO(needs-backend): Re-enable when the route property filter exposes a
333+ // "Traffic Status" option (FR-2591).
334+ test . fixme ( '3.2 Admin can filter routes by trafficStatus ACTIVE using the property filter' , async ( {
329335 page,
330336 request,
331337 } ) => {
@@ -358,7 +364,9 @@ test.describe(
358364 await expect ( filterTag . first ( ) ) . toBeVisible ( ) ;
359365 } ) ;
360366
361- test ( '3.3 Admin can filter routes by trafficStatus INACTIVE using the property filter' , async ( {
367+ // TODO(needs-backend): Re-enable when the route property filter exposes a
368+ // "Traffic Status" option (FR-2591).
369+ test . fixme ( '3.3 Admin can filter routes by trafficStatus INACTIVE using the property filter' , async ( {
362370 page,
363371 request,
364372 } ) => {
@@ -391,7 +399,11 @@ test.describe(
391399 await expect ( filterTag . first ( ) ) . toBeVisible ( ) ;
392400 } ) ;
393401
394- test ( '3.4 Admin can remove an applied filter to restore the full route list' , async ( {
402+ // TODO(needs-backend): Re-enable when the route property filter exposes a
403+ // "Traffic Status" option (FR-2591). The underlying remove-filter behavior
404+ // is covered indirectly via the Health Status filter once BAIRouteNodes
405+ // supports a secondary filter.
406+ test . fixme ( '3.4 Admin can remove an applied filter to restore the full route list' , async ( {
395407 page,
396408 request,
397409 } ) => {
@@ -451,11 +463,10 @@ test.describe(
451463 await expect (
452464 card . getByRole ( 'columnheader' , { name : 'Status' , exact : true } ) ,
453465 ) . toBeVisible ( ) ;
466+ // TODO(needs-backend): Re-enable when BAIRouteNodes exposes the Traffic
467+ // Status column (FR-2591).
454468 await expect (
455- card . getByRole ( 'columnheader' , { name : 'Traffic Status' } ) ,
456- ) . toBeVisible ( ) ;
457- await expect (
458- card . getByRole ( 'columnheader' , { name : 'Traffic Ratio' } ) ,
469+ card . getByRole ( 'columnheader' , { name : 'Created At' } ) ,
459470 ) . toBeVisible ( ) ;
460471 } ) ;
461472
@@ -474,9 +485,8 @@ test.describe(
474485 . first ( ) ;
475486 await expect ( healthyTag ) . toBeVisible ( ) ;
476487
477- // Verify ACTIVE traffic status tag
478- const activeTag = card . locator ( '.ant-tag' ) . filter ( { hasText : 'ACTIVE' } ) ;
479- await expect ( activeTag . first ( ) ) . toBeVisible ( ) ;
488+ // TODO(needs-backend): Re-enable ACTIVE traffic-status tag assertion
489+ // once BAIRouteNodes exposes the Traffic Status column (FR-2591).
480490 } ) ;
481491
482492 test ( '4.3 Admin sees a PROVISIONING route with a processing-colored status tag' , async ( {
@@ -507,7 +517,9 @@ test.describe(
507517 await expect ( unhealthyTag ) . toBeVisible ( ) ;
508518 } ) ;
509519
510- test ( '4.5 Admin sees INACTIVE traffic status tags displayed' , async ( {
520+ // TODO(needs-backend): Re-enable when BAIRouteNodes exposes the Traffic
521+ // Status column. INACTIVE tags render inside that column (FR-2591).
522+ test . fixme ( '4.5 Admin sees INACTIVE traffic status tags displayed' , async ( {
511523 page,
512524 request,
513525 } ) => {
@@ -522,7 +534,10 @@ test.describe(
522534 await expect ( inactiveTags . first ( ) ) . toBeVisible ( ) ;
523535 } ) ;
524536
525- test ( '4.6 Admin sees the traffic ratio value in the Traffic Ratio column' , async ( {
537+ // TODO(needs-backend): Re-enable when BAIRouteNodes exposes the Traffic Ratio
538+ // column. It is currently commented out in BAIRouteNodes.tsx pending backend
539+ // support for per-route traffic ratio.
540+ test . fixme ( '4.6 Admin sees the traffic ratio value in the Traffic Ratio column' , async ( {
526541 page,
527542 request,
528543 } ) => {
@@ -720,21 +735,22 @@ test.describe(
720735 ) . toBeVisible ( ) ;
721736 } ) ;
722737
723- test ( '7.2 Admin can sort routes by Traffic Ratio column' , async ( {
738+ // TODO(needs-backend): Re-enable when BAIRouteNodes exposes the Traffic Ratio
739+ // column. It is currently commented out in BAIRouteNodes.tsx pending backend
740+ // support for per-route traffic ratio.
741+ test . fixme ( '7.2 Admin can sort routes by Traffic Ratio column' , async ( {
724742 page,
725743 request,
726744 } ) => {
727745 await setupAndNavigateToDetail ( page , request ) ;
728746
729747 const card = getRoutesInfoCard ( page ) ;
730748
731- // Click the "Traffic Ratio" column header to sort
732749 const trafficRatioHeader = card . getByRole ( 'columnheader' , {
733750 name : 'Traffic Ratio' ,
734751 } ) ;
735752 await trafficRatioHeader . click ( ) ;
736753
737- // Verify a sort indicator is shown
738754 await expect (
739755 trafficRatioHeader . locator ( '.ant-table-column-sorter' ) ,
740756 ) . toBeVisible ( ) ;
0 commit comments