chore: Add playwright tests for app in local-only mode #3
e2e-tests.yml
on: pull_request
End-to-End Tests
7m 46s
Annotations
10 errors and 1 notice
|
[chromium] › tests/e2e/features/search/search-filters.spec.ts:8:7 › Search Filters › Comprehensive search filters workflow - apply:
packages/app/tests/e2e/features/search/search-filters.spec.ts#L0
3) [chromium] › tests/e2e/features/search/search-filters.spec.ts:8:7 › Search Filters › Comprehensive search filters workflow - apply, exclude, clear, and pin filters @search
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
|
[chromium] › tests/e2e/features/search/search-filters.spec.ts:8:7 › Search Filters › Comprehensive search filters workflow - apply:
packages/app/tests/e2e/features/search/search-filters.spec.ts#L75
3) [chromium] › tests/e2e/features/search/search-filters.spec.ts:8:7 › Search Filters › Comprehensive search filters workflow - apply, exclude, clear, and pin filters @search
Error: page.reload: Test timeout of 30000ms exceeded.
Call log:
- waiting for navigation until "load"
- navigated to "http://localhost:8080/search?isLive=true&source=l-1616283142&where=&select=&whereLanguage=lucene&orderBy=&from=1758217528000&to=1758218428000&filters=[]"
73 | await page.waitForTimeout(1000);
74 |
> 75 | await page.reload();
| ^
76 | await page.waitForLoadState('networkidle');
77 | await page.waitForTimeout(2000);
78 |
at /home/runner/work/hyperdx/hyperdx/packages/app/tests/e2e/features/search/search-filters.spec.ts:75:18
at /home/runner/work/hyperdx/hyperdx/packages/app/tests/e2e/features/search/search-filters.spec.ts:61:5
|
|
[chromium] › tests/e2e/features/search/search-filters.spec.ts:8:7 › Search Filters › Comprehensive search filters workflow - apply:
packages/app/tests/e2e/features/search/search-filters.spec.ts#L0
3) [chromium] › tests/e2e/features/search/search-filters.spec.ts:8:7 › Search Filters › Comprehensive search filters workflow - apply, exclude, clear, and pin filters @search
Test timeout of 30000ms exceeded.
|
|
[chromium] › tests/e2e/core/navigation.spec.ts:77:7 › Navigation - Full Server Features › should show full server navigation links @core:
packages/app/tests/e2e/core/navigation.spec.ts#L80
2) [chromium] › tests/e2e/core/navigation.spec.ts:77:7 › Navigation - Full Server Features › should show full server navigation links @core › Verify team settings link is visible
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toBeVisible() failed
Locator: locator('[data-testid="nav-link-team-settings"]')
Expected: visible
Received: <element(s) not found>
Timeout: 5000ms
Call log:
- Expect "toBeVisible" with timeout 5000ms
- waiting for locator('[data-testid="nav-link-team-settings"]')
78 | await test.step('Verify team settings link is visible', async () => {
79 | const teamSettingsLink = page.locator('[data-testid="nav-link-team-settings"]');
> 80 | await expect(teamSettingsLink).toBeVisible();
| ^
81 | await expect(teamSettingsLink).toHaveAttribute('href', '/team-settings');
82 | });
83 |
at /home/runner/work/hyperdx/hyperdx/packages/app/tests/e2e/core/navigation.spec.ts:80:38
at /home/runner/work/hyperdx/hyperdx/packages/app/tests/e2e/core/navigation.spec.ts:78:16
|
|
[chromium] › tests/e2e/core/navigation.spec.ts:77:7 › Navigation - Full Server Features › should show full server navigation links @core:
packages/app/tests/e2e/core/navigation.spec.ts#L80
2) [chromium] › tests/e2e/core/navigation.spec.ts:77:7 › Navigation - Full Server Features › should show full server navigation links @core › Verify team settings link is visible
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toBeVisible() failed
Locator: locator('[data-testid="nav-link-team-settings"]')
Expected: visible
Received: <element(s) not found>
Timeout: 5000ms
Call log:
- Expect "toBeVisible" with timeout 5000ms
- waiting for locator('[data-testid="nav-link-team-settings"]')
78 | await test.step('Verify team settings link is visible', async () => {
79 | const teamSettingsLink = page.locator('[data-testid="nav-link-team-settings"]');
> 80 | await expect(teamSettingsLink).toBeVisible();
| ^
81 | await expect(teamSettingsLink).toHaveAttribute('href', '/team-settings');
82 | });
83 |
at /home/runner/work/hyperdx/hyperdx/packages/app/tests/e2e/core/navigation.spec.ts:80:38
at /home/runner/work/hyperdx/hyperdx/packages/app/tests/e2e/core/navigation.spec.ts:78:16
|
|
[chromium] › tests/e2e/core/navigation.spec.ts:77:7 › Navigation - Full Server Features › should show full server navigation links @core:
packages/app/tests/e2e/core/navigation.spec.ts#L80
2) [chromium] › tests/e2e/core/navigation.spec.ts:77:7 › Navigation - Full Server Features › should show full server navigation links @core › Verify team settings link is visible
Error: expect(locator).toBeVisible() failed
Locator: locator('[data-testid="nav-link-team-settings"]')
Expected: visible
Received: <element(s) not found>
Timeout: 5000ms
Call log:
- Expect "toBeVisible" with timeout 5000ms
- waiting for locator('[data-testid="nav-link-team-settings"]')
78 | await test.step('Verify team settings link is visible', async () => {
79 | const teamSettingsLink = page.locator('[data-testid="nav-link-team-settings"]');
> 80 | await expect(teamSettingsLink).toBeVisible();
| ^
81 | await expect(teamSettingsLink).toHaveAttribute('href', '/team-settings');
82 | });
83 |
at /home/runner/work/hyperdx/hyperdx/packages/app/tests/e2e/core/navigation.spec.ts:80:38
at /home/runner/work/hyperdx/hyperdx/packages/app/tests/e2e/core/navigation.spec.ts:78:16
|
|
[chromium] › tests/e2e/core/modals.spec.ts:15:7 › Modal Interactions › should handle connection form modal @core:
packages/app/tests/e2e/core/modals.spec.ts#L30
1) [chromium] › tests/e2e/core/modals.spec.ts:15:7 › Modal Interactions › should handle connection form modal @core
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toBeVisible() failed
Locator: locator('[data-testid="connection-host-input"]')
Expected: visible
Received: <element(s) not found>
Timeout: 5000ms
Call log:
- Expect "toBeVisible" with timeout 5000ms
- waiting for locator('[data-testid="connection-host-input"]')
28 | await expect(
29 | page.locator('[data-testid="connection-host-input"]'),
> 30 | ).toBeVisible();
| ^
31 | await expect(
32 | page.locator('[data-testid="connection-username-input"]'),
33 | ).toBeVisible();
at /home/runner/work/hyperdx/hyperdx/packages/app/tests/e2e/core/modals.spec.ts:30:9
|
|
[chromium] › tests/e2e/core/modals.spec.ts:15:7 › Modal Interactions › should handle connection form modal @core:
packages/app/tests/e2e/core/modals.spec.ts#L22
1) [chromium] › tests/e2e/core/modals.spec.ts:15:7 › Modal Interactions › should handle connection form modal @core
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toBeVisible() failed
Locator: locator('[data-testid="connection-form"]')
Expected: visible
Received: <element(s) not found>
Timeout: 5000ms
Call log:
- Expect "toBeVisible" with timeout 5000ms
- waiting for locator('[data-testid="connection-form"]')
20 |
21 | if (await connectionForm.isVisible()) {
> 22 | await expect(connectionForm).toBeVisible();
| ^
23 |
24 | // Check form fields
25 | await expect(
at /home/runner/work/hyperdx/hyperdx/packages/app/tests/e2e/core/modals.spec.ts:22:36
|
|
[chromium] › tests/e2e/core/modals.spec.ts:15:7 › Modal Interactions › should handle connection form modal @core:
packages/app/tests/e2e/utils/base-test.ts#L15
1) [chromium] › tests/e2e/core/modals.spec.ts:15:7 › Modal Interactions › should handle connection form modal @core
Error: page.waitForLoadState: Test timeout of 30000ms exceeded.
at utils/base-test.ts:15
13 | page.goto = async (url: string, options?: any) => {
14 | const result = await originalGoto(url, options);
> 15 | await page.waitForLoadState('networkidle');
| ^
16 |
17 | // Handle onboarding modal
18 | await TestUtils.handleOnboardingModal(page);
at Page.page.goto (/home/runner/work/hyperdx/hyperdx/packages/app/tests/e2e/utils/base-test.ts:15:18)
at /home/runner/work/hyperdx/hyperdx/packages/app/tests/e2e/core/modals.spec.ts:16:5
|
|
[chromium] › tests/e2e/core/modals.spec.ts:15:7 › Modal Interactions › should handle connection form modal @core:
packages/app/tests/e2e/core/modals.spec.ts#L0
1) [chromium] › tests/e2e/core/modals.spec.ts:15:7 › Modal Interactions › should handle connection form modal @core
Test timeout of 30000ms exceeded.
|
|
🎭 Playwright Run Summary
5 failed
[chromium] › tests/e2e/core/modals.spec.ts:15:7 › Modal Interactions › should handle connection form modal @core
[chromium] › tests/e2e/core/navigation.spec.ts:77:7 › Navigation - Full Server Features › should show full server navigation links @core
[chromium] › tests/e2e/features/search/search-filters.spec.ts:8:7 › Search Filters › Comprehensive search filters workflow - apply, exclude, clear, and pin filters @search
[chromium] › tests/e2e/features/search/search.spec.ts:95:9 › Search › Advanced Workflows › Comprehensive Search Workflow - Search, View Results, Navigate Side Panel @search
[chromium] › tests/e2e/features/traces-workflow.spec.ts:8:7 › Advanced Search Workflow - Traces › Comprehensive traces workflow - search, view waterfall, navigate trace details @Traces
6 flaky
[chromium] › tests/e2e/core/modals.spec.ts:4:7 › Modal Interactions › should handle confirmation modals @core
[chromium] › tests/e2e/core/navigation.spec.ts:8:7 › Navigation › should navigate between main pages @core @smoke
[chromium] › tests/e2e/core/navigation.spec.ts:29:7 › Navigation › should open user menu @core ─
[chromium] › tests/e2e/core/navigation.spec.ts:46:7 › Navigation › should open help menu @core ─
[chromium] › tests/e2e/features/search/search.spec.ts:67:9 › Search › Advanced Workflows › Search with Different Query Types - Lucene @search
[chromium] › tests/e2e/features/sessions.spec.ts:4:7 › Client Sessions Functionality › should load sessions page @sessions
2 skipped
10 passed (4.3m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
playwright-report
Expired
|
87.8 MB |
sha256:8da0be7d4ebb1845ce0171433495429abe290325bc09653c7d5eac2de8508c7a
|
|
|
test-results
Expired
|
87.2 MB |
sha256:1af2ad360c905f70a404d66b97b2334d41221b66ecde05ad4114a31ec9c129c6
|
|