Xray
all clusters 1h 6h 24h 48h 3d 5d 7d 14d 30d ‹
Last 24 hours▾
Ends now. Anything up to this cluster's 30-day retention.
Start and end times
Cancel
Interpreted in UTC (change it at the right of this bar). Earliest available: 2026-10-24 09:08:20.
› →|
updated 5d ago
Sample data. This database was generated by scripts/seed_dev_db.py — every service, deploy, person and figure on this page is synthetic. Names are sample.*@seed.invalid and image tags are prefixed SEED-. Nothing here happened.

CRO Add Site › TC-07: Staff cannot be removed from site while on an active study team

Written to prove TC-SITE-033 A member cannot be removed from a site while they are on an active study team

croAddSite::TC-07: Staff cannot be removed from site while on an active study team
E2E test in suite croAddSite · first seen 2026-08-20 06:35:05 UTC · last seen 2026-11-17 01:35:54 UTC · ← all runs

flaky
as of #882 · failed 1 of its last 30 counted runs, changed 2 times
passing
as of #860 · failed 0 of its last 30 counted runs

Linear issues

e2e-tests-master — its newest 5 runs, oldest first

Each distinct failure it has had (1)

12bb2559efb8 in 0 runs · first e2e-tests-master jenkins-870 (2026-11-10 15:35:16 UTC) · last e2e-tests-master jenkins-870 (2026-11-10 15:35:16 UTC)
why locator.waitFor: Timeout 50000ms exceeded.
traceback
[platform] › tests/platform/sites/croAddSite.spec.js:176:3 › CRO Add Site › TC-07: Staff cannot be removed from site while on an active study team 

    TimeoutError: locator.waitFor: Timeout 50000ms exceeded.
    Call log:
      - waiting for getByTestId('app-header-site-team-tab') to be visible


       at pages/platform/sites/createSite.page.js:610

      608 |   async navigateToSiteTeamTab(siteName) {
      609 |     await this.selectSite(siteName);
    > 610 |     await this.teamTab.waitFor({ state: 'visible' });
          |                        ^
      611 |     await this.teamTab.click();
      612 |     await this.siteTeamStaffTable.waitFor({ state: 'visible' });
      613 |     logger.info(`Navigated to Team tab for site ${siteName}`);
        at SitesPage.navigateToSiteTeamTab (/home/jenkins/agent/workspace/ui-tests-master/e2e/pages/platform/sites/createSite.page.js:610:24)
        at /home/jenkins/agent/workspace/ui-tests-master/e2e/tests/platform/sites/croAddSite.spec.js:192:5

    attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    reports/sites-croAddSite-CRO-Add-S-07290-ile-on-an-active-study-team-platform/test-failed-1.png
    ────────────────────────────────────────────────────────────────────────────────────────────────

    attachment #2: video (video/webm) ──────────────────────────────────────────────────────────────
    reports/sites-croAddSite-CRO-Add-S-07290-ile-on-an-active-study-team-platform/video.webm
    ────────────────────────────────────────────────────────────────────────────────────────────────

    Error Context: reports/sites-croAddSite-CRO-Add-S-07290-ile-on-an-active-study-team-platform/error-context.md

    Retry #1 ───────────────────────────────────────────────────────────────────────────────────────

    Error: expect(locator).toBeVisible() failed

    Locator: locator('[role=\'status\']').locator('div:has-text("staff member is still on 1 active study team(s)")').first()
    Expected: visible
    Timeout: 50000ms
    Error: element(s) not found

    Call log:
      - Expect "toBeVisible" locator('[role=\'status\']').locator('div:has-text("staff member is still on 1 active study team(s)")').first() with timeout 50000ms
      - waiting for locator('[role=\'status\']').locator('div:has-text("staff member is still on 1 active study team(s)")').first()


      199 |     await expect(
      200 |       await sitesPage.getBottomToast(siteData.staffOnActiveStudyTeamError)
    > 201 |     ).toBeVisible();
          |       ^
      202 |     await expect(sitesPage.siteTeamStaffRow(staffName)).toBeVisible();
      203 |     logger.info(
      204 |       `Staff ${staffName} was not removed from site ${siteName} - error toast shown`
        at /home/jenkins/agent/workspace/ui-tests-master/e2e/tests/platform/sites/croAddSite.spec.js:201:7

    attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    reports/sites-croAddSite-CRO-Add-S-07290-ile-on-an-active-study-team-platform-retry1/test-failed-1.png
    ────────────────────────────────────────────────────────────────────────────────────────────────

    attachment #2: video (video/webm) ──────────────────────────────────────────────────────────────
    reports/sites-croAddSite-CRO-Add-S-07290-ile-on-an-active-study-team-platform-retry1/video.webm
    ────────────────────────────────────────────────────────────────────────────────────────────────

    Error Context: reports/sites-croAddSite-CRO-Add-S-07290-ile-on-an-active-study-team-platform-retry1/error-context.md

    attachment #5: trace (application/zip) ─────────────────────────────────────────────────────────
    reports/sites-croAddSite-CRO-Add-S-07290-ile-on-an-active-study-team-platform-retry1/trace.zip
    Usage:

        yarn playwright show-trace reports/sites-croAddSite-CRO-Add-S-07290-ile-on-an-active-study-team-platform-retry1/trace.zip

    ────────────────────────────────────────────────────────────────────────────────────────────────