User Profile - Organization Page › TC-02: Search and sort
Written to prove TC-ORG-003 Searching the organizations list filters it to matching organizations; TC-ORG-004 A search that matches no organization explains that nothing matched; TC-ORG-005 The organizations list is sorted by name by default and can be re-sorted
organizationPage::TC-02: Search and sort
E2E test in suite
organizationPage ·
first seen 2026-09-27 01:31:42 UTC · last seen 2026-11-17 01:35:54 UTC
· ← all runs
Linear issues
No Linear issue is tied to this test.
Each distinct failure it has had (4)
5677d4148d21
in 0 runs · first
e2e-tests-master jenkins-864
(2026-11-07 01:53:56 UTC) · last
e2e-tests-master jenkins-865
(2026-11-08 01:52:24 UTC)
why page.waitForLoadState: Timeout 50000ms exceeded.
traceback
[main] › tests/userProfile/organizationPage.spec.js:65:3 › User Profile - Organization Page › TC-02: Search and sort
TimeoutError: page.waitForLoadState: Timeout 50000ms exceeded.
at pages/userProfile/organization.page.js:244
242 | async visitUserProfileOrganizationPage({ reload = true } = {}) {
243 | if (reload) {
> 244 | await this.page.waitForLoadState('networkidle');
| ^
245 | await this.refresh();
246 | }
247 | await this.openUserProfile();
at OrganizationPage.visitUserProfileOrganizationPage (/home/jenkins/agent/workspace/ui-tests-master/e2e/pages/userProfile/organization.page.js:244:23)
at Object.organizationPage (/home/jenkins/agent/workspace/ui-tests-master/e2e/utils/fixtures/organization.js:27:28)
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
reports/userProfile-organizationPa-06bd1--Page-TC-02-Search-and-sort-main/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: reports/userProfile-organizationPa-06bd1--Page-TC-02-Search-and-sort-main/error-context.md
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: page.waitForLoadState: Timeout 50000ms exceeded.
at pages/userProfile/organization.page.js:244
242 | async visitUserProfileOrganizationPage({ reload = true } = {}) {
243 | if (reload) {
> 244 | await this.page.waitForLoadState('networkidle');
| ^
245 | await this.refresh();
246 | }
247 | await this.openUserProfile();
at OrganizationPage.visitUserProfileOrganizationPage (/home/jenkins/agent/workspace/ui-tests-master/e2e/pages/userProfile/organization.page.js:244:23)
at Object.organizationPage (/home/jenkins/agent/workspace/ui-tests-master/e2e/utils/fixtures/organization.js:27:28)
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
reports/userProfile-organizationPa-06bd1--Page-TC-02-Search-and-sort-main-retry1/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: reports/userProfile-organizationPa-06bd1--Page-TC-02-Search-and-sort-main-retry1/error-context.md
attachment #4: trace (application/zip) ─────────────────────────────────────────────────────────
reports/userProfile-organizationPa-06bd1--Page-TC-02-Search-and-sort-main-retry1/trace.zip
Usage:
yarn playwright show-trace reports/userProfile-organizationPa-06bd1--Page-TC-02-Search-and-sort-main-retry1/trace.zip
────────────────────────────────────────────────────────────────────────────────────────────────
026e274195af
in 0 runs · first
e2e-tests-master jenkins-838
(2026-10-20 01:31:34 UTC) · last
e2e-tests-production jenkins-821
(2026-10-29 05:34:09 UTC)
why expect(locator).toBeVisible() failed
traceback
[main] › tests/userProfile/organizationPage.spec.js:64:3 › User Profile - Organization Page › TC-02: Search and sort › TC-ORG-004: a search that matches no organization explains that nothing matched
Error: expect(locator).toBeVisible() failed
Locator: getByRole('button', { name: 'New organization' })
Expected: visible
Timeout: 50000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" getByRole('button', { name: 'New organization' }) with timeout 50000ms
- waiting for getByRole('button', { name: 'New organization' })
101 | list.noAccessEmptyState
102 | );
> 103 | await expect(organizationPage.newOrganizationButton).toBeVisible();
| ^
104 | await expect(organizationPage.organizationsLogoutButton).toHaveCount(0);
105 | logger.info('No-match search reads as an empty search, not lost access');
106 |
at /tests/tests/userProfile/organizationPage.spec.js:103:60
at /tests/tests/userProfile/organizationPage.spec.js:91:5
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
reports/userProfile-organizationPa-06bd1--Page-TC-02-Search-and-sort-main/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: reports/userProfile-organizationPa-06bd1--Page-TC-02-Search-and-sort-main/error-context.md
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toBeVisible() failed
Locator: getByRole('button', { name: 'New organization' })
Expected: visible
Timeout: 50000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" getByRole('button', { name: 'New organization' }) with timeout 50000ms
- waiting for getByRole('button', { name: 'New organization' })
101 | list.noAccessEmptyState
102 | );
> 103 | await expect(organizationPage.newOrganizationButton).toBeVisible();
| ^
104 | await expect(organizationPage.organizationsLogoutButton).toHaveCount(0);
105 | logger.info('No-match search reads as an empty search, not lost access');
106 |
at /tests/tests/userProfile/organizationPage.spec.js:103:60
at /tests/tests/userProfile/organizationPage.spec.js:91:5
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
reports/userProfile-organizationPa-06bd1--Page-TC-02-Search-and-sort-main-retry1/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: reports/userProfile-organizationPa-06bd1--Page-TC-02-Search-and-sort-main-retry1/error-context.md
a3307cf4ab2c
in 0 runs · first
e2e-tests-master jenkins-840
(2026-10-22 01:32:19 UTC) · last
e2e-tests-master jenkins-840
(2026-10-22 01:32:19 UTC)
why expect(locator).toHaveCount(expected) failed
traceback
[main] › tests/userProfile/organizationPage.spec.js:64:3 › User Profile - Organization Page › TC-02: Search and sort › TC-ORG-003: searching the organizations list filters it to matching organizations
Error: expect(locator).toHaveCount(expected) failed
Locator: getByTestId('organizations').locator('tbody tr')
Expected: 2
Received: 0
Timeout: 50000ms
Call log:
- Expect "toHaveCount" getByTestId('organizations').locator('tbody tr') with timeout 50000ms
- waiting for getByTestId('organizations').locator('tbody tr')
7 × locator resolved to 14 elements
- unexpected value "14"
92 × locator resolved to 0 elements
- unexpected value "0"
71 | await test.step('TC-ORG-003: searching the organizations list filters it to matching organizations', async () => {
72 | await organizationPage.searchOrganizations(data.partialSearch);
> 73 | await expect(organizationPage.organizationsTableRows).toHaveCount(
| ^
74 | data.partialMatches.length
75 | );
76 | for (const orgName of data.partialMatches) {
at /tests/tests/userProfile/organizationPage.spec.js:73:61
at /tests/tests/userProfile/organizationPage.spec.js:71:5
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
reports/userProfile-organizationPa-06bd1--Page-TC-02-Search-and-sort-main/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: reports/userProfile-organizationPa-06bd1--Page-TC-02-Search-and-sort-main/error-context.md
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveCount(expected) failed
Locator: getByTestId('organizations').locator('tbody tr')
Expected: 2
Received: 0
Timeout: 50000ms
Call log:
- Expect "toHaveCount" getByTestId('organizations').locator('tbody tr') with timeout 50000ms
- waiting for getByTestId('organizations').locator('tbody tr')
7 × locator resolved to 16 elements
- unexpected value "16"
93 × locator resolved to 0 elements
- unexpected value "0"
71 | await test.step('TC-ORG-003: searching the organizations list filters it to matching organizations', async () => {
72 | await organizationPage.searchOrganizations(data.partialSearch);
> 73 | await expect(organizationPage.organizationsTableRows).toHaveCount(
| ^
74 | data.partialMatches.length
75 | );
76 | for (const orgName of data.partialMatches) {
at /tests/tests/userProfile/organizationPage.spec.js:73:61
at /tests/tests/userProfile/organizationPage.spec.js:71:5
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
reports/userProfile-organizationPa-06bd1--Page-TC-02-Search-and-sort-main-retry1/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: reports/userProfile-organizationPa-06bd1--Page-TC-02-Search-and-sort-main-retry1/error-context.md
7904653a1a77
in 0 runs · first
e2e-tests-master jenkins-829
(2026-10-15 01:32:55 UTC) · last
e2e-tests-master jenkins-830
(2026-10-15 06:51:46 UTC)
why locator.fill: Timeout 50000ms exceeded.
traceback
[main] › tests/userProfile/organizationPage.spec.js:64:3 › User Profile - Organization Page › TC-02: Search and sort › TC-ORG-003: searching the organizations list filters it to matching organizations
TimeoutError: locator.fill: Timeout 50000ms exceeded.
Call log:
- waiting for getByPlaceholder('Search...')
at pages/userProfile/organization.page.js:184
182 |
183 | async searchOrganizations(orgName) {
> 184 | await this.search.fill(orgName);
| ^
185 | logger.info(`Searched organizations for ${orgName}`);
186 | }
187 |
at OrganizationPage.searchOrganizations (/tests/pages/userProfile/organization.page.js:184:23)
at /tests/tests/userProfile/organizationPage.spec.js:72:30
at /tests/tests/userProfile/organizationPage.spec.js:71:5
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
reports/userProfile-organizationPa-06bd1--Page-TC-02-Search-and-sort-main/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: reports/userProfile-organizationPa-06bd1--Page-TC-02-Search-and-sort-main/error-context.md
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.fill: Timeout 50000ms exceeded.
Call log:
- waiting for getByPlaceholder('Search...')
at pages/userProfile/organization.page.js:184
182 |
183 | async searchOrganizations(orgName) {
> 184 | await this.search.fill(orgName);
| ^
185 | logger.info(`Searched organizations for ${orgName}`);
186 | }
187 |
at OrganizationPage.searchOrganizations (/tests/pages/userProfile/organization.page.js:184:23)
at /tests/tests/userProfile/organizationPage.spec.js:72:30
at /tests/tests/userProfile/organizationPage.spec.js:71:5
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
reports/userProfile-organizationPa-06bd1--Page-TC-02-Search-and-sort-main-retry1/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: reports/userProfile-organizationPa-06bd1--Page-TC-02-Search-and-sort-main-retry1/error-context.md