Sites Page › TC-02: Create a site and verify every section persisted
Written to prove TC-SITE-001 The sites list shows every site in the organization with its status, studies and location; TC-SITE-011 A site created with full details appears in the list and reads back on its own screens; TC-SITE-022 The Overview shows the site's address, office hours and key contact; TC-SITE-036 A visit can be started from the site's calendar with the site already applied; TC-SITE-105 The Overview staff line names the site's team members, including its administrator
sites::TC-02: Create a site and verify every section persisted
E2E test in suite
sites ·
first seen 2026-08-11 20:33:04 UTC · last seen 2026-11-17 01:35:54 UTC
· ← all runs
Linear issues
No Linear issue is tied to this test.
e2e-tests-master — its newest 11 runs, oldest first
e2e-tests-production — its newest 2 runs, oldest first
Each distinct failure it has had (2)
dd1c812ffdfa
in 0 runs · first
e2e-tests-master jenkins-778
(2026-09-26 01:33:08 UTC) · last
e2e-tests-master jenkins-782
(2026-09-29 02:40:04 UTC)
why expect(locator).toHaveText(expected) failed
traceback
[main] › tests/sites/sites.spec.js:26:3 › Sites Page › TC-02: Create a site and verify every section persisted › Save the site and verify it appears in the sites list
Error: expect(locator).toHaveText(expected) failed
Locator: getByTestId('sites-table').getByRole('row').filter({ hasText: 'Ui Test 1790650840941' }).getByRole('link')
Expected: "476 5th Avenue, New York, NY"
Timeout: 50000ms
Error: element(s) not found
Call log:
- Expect "toHaveText" getByTestId('sites-table').getByRole('row').filter({ hasText: 'Ui Test 1790650840941' }).getByRole('link') with timeout 50000ms
- waiting for getByTestId('sites-table').getByRole('row').filter({ hasText: 'Ui Test 1790650840941' }).getByRole('link')
59 | siteData.siteStatus.active
60 | );
> 61 | await expect(sitePage.siteRowLocation(siteName)).toHaveText(
| ^
62 | address.listLocation
63 | );
64 | logger.info('New site listed as Active with the searched address');
at /tests/tests/sites/sites.spec.js:61:56
at /tests/tests/sites/sites.spec.js:53:5
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
reports/sites-sites-Sites-Page-TC--15812-ify-every-section-persisted-main/test-failed-4.png
────────────────────────────────────────────────────────────────────────────────────────────────
attachment #2: screenshot (image/png) ──────────────────────────────────────────────────────────
reports/sites-sites-Sites-Page-TC--15812-ify-every-section-persisted-main/test-failed-3.png
────────────────────────────────────────────────────────────────────────────────────────────────
attachment #3: screenshot (image/png) ──────────────────────────────────────────────────────────
reports/sites-sites-Sites-Page-TC--15812-ify-every-section-persisted-main/test-failed-2.png
────────────────────────────────────────────────────────────────────────────────────────────────
attachment #4: screenshot (image/png) ──────────────────────────────────────────────────────────
reports/sites-sites-Sites-Page-TC--15812-ify-every-section-persisted-main/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: reports/sites-sites-Sites-Page-TC--15812-ify-every-section-persisted-main/error-context.md
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveText(expected) failed
Locator: getByTestId('sites-table').getByRole('row').filter({ hasText: 'Ui Test 1790650917926' }).getByRole('link')
Expected: "476 5th Avenue, New York, NY"
Timeout: 50000ms
Error: element(s) not found
Call log:
- Expect "toHaveText" getByTestId('sites-table').getByRole('row').filter({ hasText: 'Ui Test 1790650917926' }).getByRole('link') with timeout 50000ms
- waiting for getByTestId('sites-table').getByRole('row').filter({ hasText: 'Ui Test 1790650917926' }).getByRole('link')
59 | siteData.siteStatus.active
60 | );
> 61 | await expect(sitePage.siteRowLocation(siteName)).toHaveText(
| ^
62 | address.listLocation
63 | );
64 | logger.info('New site listed as Active with the searched address');
at /tests/tests/sites/sites.spec.js:61:56
at /tests/tests/sites/sites.spec.js:53:5
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
reports/sites-sites-Sites-Page-TC--15812-ify-every-section-persisted-main-retry1/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: reports/sites-sites-Sites-Page-TC--15812-ify-every-section-persisted-main-retry1/error-context.md
8f4d8d9b78bc
in 1 run · first
e2e-tests-master jenkins-702
(2026-08-12 05:23:14 UTC) · last
e2e-tests-master jenkins-702
(2026-08-12 05:23:14 UTC)
why TimeoutError: locator.waitFor: Timeout 50000ms exceeded.
Call log:
[2m - waiting for locator('[class*=sidebar]').getByRole('button').nth(1) to be visible[22m
traceback
TimeoutError: locator.waitFor: Timeout 50000ms exceeded.
Call log:
[2m - waiting for locator('[class*=sidebar]').getByRole('button').nth(1) to be visible[22m
at SitesPage.selectOrg (/tests/pages/base.page.js:611:28)
at SitesPage.selectOrgAndModule (/tests/pages/base.page.js:371:5)
at Object.sitePage (/tests/utils/fixtures/sites.js:24:5)