Skip to content

Fix dashboard E2E locator assertions - #139

Merged
pelikhan merged 2 commits into
mainfrom
copilot/fix-github-actions-job-again
Aug 29, 2026
Merged

Fix dashboard E2E locator assertions#139
pelikhan merged 2 commits into
mainfrom
copilot/fix-github-actions-job-again

Conversation

Copilot AI commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

The Dashboard CI E2E job failed because strict Playwright locators matched container elements with multiple child values and two headings named “Runs”.

  • Heading scope

    • Restrict the page-title assertion to the h2 “Runs” heading.
  • Collection assertions

    • Target summary-list li elements and table-row td cells rather than their containers.
await expect(page.getByRole('heading', {
  name: 'Runs',
  exact: true,
  level: 2
})).toBeVisible();

await expect(page.locator('.run-status-counts li'))
  .toContainText(['completed: 1', 'in-progress: 1']);

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job Fix dashboard E2E locator assertions Aug 29, 2026
Copilot AI requested a review from pelikhan August 29, 2026 01:46
@pelikhan
pelikhan marked this pull request as ready for review August 29, 2026 01:48
@pelikhan
pelikhan merged commit 5be37e1 into main Aug 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants