Flaky test [firefox] › e2e/reviews.spec.ts:95:7 › Admin Reviews (Authenticated) › admin can see reviews in the admin panel #4

Closed
opened 2026-03-04 20:32:59 +01:00 by george-cosmin.hanta · 2 comments
george-cosmin.hanta commented 2026-03-04 20:32:59 +01:00 (Migrated from gitlab.marigoldointment.com)

We have one flaky text in the E2E pipeline that needs to be improved.

Cleaned up 38 CVs for test user
Cleaned up 1 reviews for test user
Cleaned up 53 activities for test user

  1. [firefox] › e2e/reviews.spec.ts:95:7 › Admin Reviews (Authenticated) › admin can see reviews in the admin panel
    Error: expect(locator).toBeVisible() failed
    Locator: locator('table')
    Expected: visible
    Error: strict mode violation: locator('table') resolved to 2 elements:
    1. aka getByRole('table')
    2. aka getByText('UserRatingCommentStatusActionsTTest E2E Usertest-e2e@example.com5This is an E2E').nth(1)
Call log:
  - Expect "toBeVisible" with timeout 10000ms
  - waiting for locator('table')
  105 |     // Should see the reviews table
  106 |     const table = page.locator('table');
> 107 |     await expect(table).toBeVisible({ timeout: 10000 });
      |                         ^
  108 |
  109 |     // Table should have headers (even if empty)
  110 |     const tableHeaders = table.locator('th');
    at /builds/marigold-ointment/ezcv/e2e/reviews.spec.ts:107:25
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results/reviews-Admin-Reviews-Auth-14922--reviews-in-the-admin-panel-firefox/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: test-results/reviews-Admin-Reviews-Auth-14922--reviews-in-the-admin-panel-firefox/error-context.md

1 flaky
[firefox] › e2e/reviews.spec.ts:95:7 › Admin Reviews (Authenticated) › admin can see reviews in the admin panel
155 passed (1.0m)

We have one flaky text in the E2E pipeline that needs to be improved. Cleaned up 38 CVs for test user Cleaned up 1 reviews for test user Cleaned up 53 activities for test user 1) [firefox] › e2e/reviews.spec.ts:95:7 › Admin Reviews (Authenticated) › admin can see reviews in the admin panel Error: expect(locator).toBeVisible() failed Locator: locator('table') Expected: visible Error: strict mode violation: locator('table') resolved to 2 elements: 1) <table class="w-full text-sm">…</table> aka getByRole('table') 2) <table class="w-full text-sm">…</table> aka getByText('UserRatingCommentStatusActionsTTest E2E Usertest-e2e@example.com5This is an E2E').nth(1) Call log: - Expect "toBeVisible" with timeout 10000ms - waiting for locator('table') 105 | // Should see the reviews table 106 | const table = page.locator('table'); > 107 | await expect(table).toBeVisible({ timeout: 10000 }); | ^ 108 | 109 | // Table should have headers (even if empty) 110 | const tableHeaders = table.locator('th'); at /builds/marigold-ointment/ezcv/e2e/reviews.spec.ts:107:25 attachment #1: screenshot (image/png) ────────────────────────────────────────────────────────── test-results/reviews-Admin-Reviews-Auth-14922--reviews-in-the-admin-panel-firefox/test-failed-1.png ──────────────────────────────────────────────────────────────────────────────────────────────── Error Context: test-results/reviews-Admin-Reviews-Auth-14922--reviews-in-the-admin-panel-firefox/error-context.md 1 flaky [firefox] › e2e/reviews.spec.ts:95:7 › Admin Reviews (Authenticated) › admin can see reviews in the admin panel 155 passed (1.0m)
george-cosmin.hanta (Migrated from gitlab.marigoldointment.com) closed this issue 2026-03-04 21:31:28 +01:00
george-cosmin.hanta commented 2026-03-04 21:31:29 +01:00 (Migrated from gitlab.marigoldointment.com)

Fixed in commit 7cce955aa8

Fixed in commit 7cce955aa83a08ece6bc8a7333cd6374d6eabd92
george-cosmin.hanta commented 2026-03-04 21:31:44 +01:00 (Migrated from gitlab.marigoldointment.com)

assigned to @george-cosmin.hanta

assigned to @george-cosmin.hanta
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
itsGCH/ezcv#4
No description provided.