chore: Add playwright tests for app in local-only mode #6
e2e-tests.yml
on: pull_request
End-to-End Tests
6m 10s
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#L77
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.waitForTimeout: Test timeout of 30000ms exceeded.
75 | await page.reload();
76 | await page.waitForLoadState('networkidle');
> 77 | await page.waitForTimeout(2000);
| ^
78 |
79 | const pinnedErrorFilter = page.locator('[data-testid="filter-checkbox-error"]').first();
80 | await expect(pinnedErrorFilter).toBeVisible();
at /__w/hyperdx/hyperdx/packages/app/tests/e2e/features/search/search-filters.spec.ts:77:18
at /__w/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:80:7 › Navigation - Full Server Features › should show full server navigation links @core:
packages/app/tests/e2e/core/navigation.spec.ts#L83
2) [chromium] › tests/e2e/core/navigation.spec.ts:80: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"]')
81 | await test.step('Verify team settings link is visible', async () => {
82 | const teamSettingsLink = page.locator('[data-testid="nav-link-team-settings"]');
> 83 | await expect(teamSettingsLink).toBeVisible();
| ^
84 | await expect(teamSettingsLink).toHaveAttribute('href', '/team-settings');
85 | });
86 |
at /__w/hyperdx/hyperdx/packages/app/tests/e2e/core/navigation.spec.ts:83:38
at /__w/hyperdx/hyperdx/packages/app/tests/e2e/core/navigation.spec.ts:81:16
|
|
[chromium] › tests/e2e/core/navigation.spec.ts:80:7 › Navigation - Full Server Features › should show full server navigation links @core:
packages/app/tests/e2e/core/navigation.spec.ts#L83
2) [chromium] › tests/e2e/core/navigation.spec.ts:80: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"]')
81 | await test.step('Verify team settings link is visible', async () => {
82 | const teamSettingsLink = page.locator('[data-testid="nav-link-team-settings"]');
> 83 | await expect(teamSettingsLink).toBeVisible();
| ^
84 | await expect(teamSettingsLink).toHaveAttribute('href', '/team-settings');
85 | });
86 |
at /__w/hyperdx/hyperdx/packages/app/tests/e2e/core/navigation.spec.ts:83:38
at /__w/hyperdx/hyperdx/packages/app/tests/e2e/core/navigation.spec.ts:81:16
|
|
[chromium] › tests/e2e/core/navigation.spec.ts:80:7 › Navigation - Full Server Features › should show full server navigation links @core:
packages/app/tests/e2e/core/navigation.spec.ts#L83
2) [chromium] › tests/e2e/core/navigation.spec.ts:80: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"]')
81 | await test.step('Verify team settings link is visible', async () => {
82 | const teamSettingsLink = page.locator('[data-testid="nav-link-team-settings"]');
> 83 | await expect(teamSettingsLink).toBeVisible();
| ^
84 | await expect(teamSettingsLink).toHaveAttribute('href', '/team-settings');
85 | });
86 |
at /__w/hyperdx/hyperdx/packages/app/tests/e2e/core/navigation.spec.ts:83:38
at /__w/hyperdx/hyperdx/packages/app/tests/e2e/core/navigation.spec.ts:81: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#L22
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-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 /__w/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#L14
1) [chromium] › tests/e2e/core/modals.spec.ts:15:7 › Modal Interactions › should handle connection form modal @core
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.originalGoto: Test timeout of 30000ms exceeded.
Call log:
- navigating to "http://localhost:8080/", waiting until "load"
at utils/base-test.ts:14
12 | const originalGoto = page.goto.bind(page);
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
at Page.goto (/__w/hyperdx/hyperdx/packages/app/tests/e2e/utils/base-test.ts:14:28)
at /__w/hyperdx/hyperdx/packages/app/tests/e2e/core/modals.spec.ts:16: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#L0
1) [chromium] › tests/e2e/core/modals.spec.ts:15:7 › Modal Interactions › should handle connection form modal @core
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
|
[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#L14
1) [chromium] › tests/e2e/core/modals.spec.ts:15:7 › Modal Interactions › should handle connection form modal @core
Error: page.originalGoto: net::ERR_CONNECTION_REFUSED at http://localhost:8080/
Call log:
- navigating to "http://localhost:8080/", waiting until "load"
at utils/base-test.ts:14
12 | const originalGoto = page.goto.bind(page);
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
at Page.goto (/__w/hyperdx/hyperdx/packages/app/tests/e2e/utils/base-test.ts:14:28)
at /__w/hyperdx/hyperdx/packages/app/tests/e2e/core/modals.spec.ts:16:16
|
|
🎭 Playwright Run Summary
6 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:80: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:67:9 › Search › Advanced Workflows › Search with Different Query Types - Lucene @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
4 flaky
[chromium] › tests/e2e/core/modals.spec.ts:4:7 › Modal Interactions › should handle confirmation modals @core
[chromium] › tests/e2e/core/navigation.spec.ts:9:7 › Navigation › should navigate between main pages @core @smoke
[chromium] › tests/e2e/core/navigation.spec.ts:30:7 › Navigation › should open user menu @core ─
[chromium] › tests/e2e/core/navigation.spec.ts:49:7 › Navigation › should open help menu @core ─
2 skipped
11 passed (4.1m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
playwright-report
Expired
|
69.5 MB |
sha256:633f7ff58b02be327156b46cd00742162657385fc3d5fba7f9ce00630108ed2e
|
|
|
test-results
Expired
|
68.9 MB |
sha256:0b67af1f9463917d90709b467ea5977c1c9644a2bf152759701ac27f6d6a85ad
|
|