Skip to content

Commit 2d95f0e

Browse files
SimplicityGuyclaude
andcommitted
fix(tests): update queue section display test to match redesigned dashboard
The dashboard redesign split the single "Processing Rates" section into separate "Publish Rates (msg/s)" and "Ack Rates (msg/s)" panels, and removed the #processing-rates-grid element. Update the E2E test to check for the actual h2 headings and a known rate circle ID instead. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 863e8ee commit 2d95f0e

1 file changed

Lines changed: 9 additions & 6 deletions

File tree

tests/dashboard/test_dashboard_ui.py

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,16 @@ def test_queue_section_display(self, page: Page) -> None:
5656
queue_heading = page.locator("h2", has_text="Queue Size Metrics")
5757
expect(queue_heading).to_be_visible(timeout=10000)
5858

59-
# Processing rates section heading
60-
rates_heading = page.locator("h2", has_text="Processing Rates")
61-
expect(rates_heading).to_be_visible(timeout=10000)
59+
# Processing rates section headings (split into publish and ack panels)
60+
publish_rates_heading = page.locator("h2", has_text="Publish Rates")
61+
expect(publish_rates_heading).to_be_visible(timeout=10000)
6262

63-
# SVG rate circles are rendered (8 total: 4 publish + 4 ack)
64-
rate_grid = page.locator("#processing-rates-grid")
65-
expect(rate_grid).to_be_visible(timeout=10000)
63+
ack_rates_heading = page.locator("h2", has_text="Ack Rates")
64+
expect(ack_rates_heading).to_be_visible(timeout=10000)
65+
66+
# SVG rate circles are rendered
67+
rate_circle = page.locator("#rate-circle-graphinator-masters-publish")
68+
expect(rate_circle).to_be_visible(timeout=10000)
6669

6770
def test_database_cards_display(self, page: Page) -> None:
6871
"""Test that database cards are displayed."""

0 commit comments

Comments
 (0)