Skip to content

Conversation

teeohhem
Copy link
Contributor

@teeohhem teeohhem commented Sep 18, 2025

Fixes: HDX-2442

Copy link

vercel bot commented Sep 18, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
hyperdx-v2-oss-app Ready Ready Preview Comment Sep 20, 2025 1:42am

Copy link

changeset-bot bot commented Sep 18, 2025

⚠️ No Changeset found

Latest commit: 14a208b

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Contributor

🎭 Playwright Test Results

**Tests:** 23
**✅ Passed:** 11
**❌ Failed:** 6
**⚠️ Flaky:** 4
**⏭️ Skipped:** 2
**⏱️ Duration:** 249s

❌ Some tests failed. Check the [Playwright report](https://github.com/hyperdxio/hyperdx/actions/runs/17837678743) for details.

Copy link
Contributor

🎭 Playwright Test Results

**Tests:** 23
**✅ Passed:** 12
**❌ Failed:** 4
**⚠️ Flaky:** 4
**⏭️ Skipped:** 3
**⏱️ Duration:** 213s

❌ Some tests failed. Check the [Playwright report](https://github.com/hyperdxio/hyperdx/actions/runs/17838142368) for details.

Copy link
Contributor

🎭 Playwright Test Results

**Tests:** 23
**✅ Passed:** 18
**❌ Failed:** 0
**⚠️ Flaky:** 2
**⏭️ Skipped:** 3
**⏱️ Duration:** 170s

✅ All tests passed!

Copy link
Contributor

🎭 Playwright Test Results

**Tests:** 21
**✅ Passed:** 16
**❌ Failed:** 0
**⚠️ Flaky:** 2
**⏭️ Skipped:** 3
**⏱️ Duration:** 161s

✅ All tests passed!

Copy link
Contributor

E2E Test Results

✅ **All tests passed** • 14 passed • 3 skipped • 146s

@teeohhem teeohhem marked this pull request as ready for review September 19, 2025 14:37
).toBeVisible();
},
);
});
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will enable after we create a docker image in a future ticket

await expect(page.locator('[data-testid="alerts-modal"]')).toBeVisible();
});
});
});
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tests are running in local-only mode. Will re-enable once we have a docker image with full server in a future ticket

/* Retry on CI only */
retries: process.env.CI ? 2 : 1,
/* Use multiple workers on CI for faster execution */
workers: undefined,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

allows playwright to use as many cores that are available

use: {
...devices['Desktop Chrome'],
},
},
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can add more browsers later

timeout: 180 * 1000,
stdout: 'pipe',
stderr: 'pipe',
},
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

run server in local-only mode for simplicty

@hyperdxio hyperdxio deleted a comment from github-actions bot Sep 19, 2025
@hyperdxio hyperdxio deleted a comment from github-actions bot Sep 19, 2025
@hyperdxio hyperdxio deleted a comment from github-actions bot Sep 19, 2025
@hyperdxio hyperdxio deleted a comment from github-actions bot Sep 19, 2025
Copy link
Contributor

E2E Test Results

✅ **All tests passed** • 14 passed • 3 skipped • 127s

Copy link
Contributor

E2E Test Results

✅ **All tests passed** • 14 passed • 3 skipped • 129s

@teeohhem teeohhem requested a review from knudtty September 19, 2025 15:02
- Add Playwright configuration and GitHub Actions workflow
- Implement test utilities and base test setup
- Add E2E tests for core navigation functionality
- Add comprehensive search feature tests (filters, saved searches)
- Add dashboard, alerts, and chart explorer tests
- Add session and trace workflow tests
- Add source management tests
- Update CI/CD pipeline to include E2E testing
- Improve test data attributes and component accessibility

cleanup and test flakiness fix

workflow name update
Copy link
Contributor

E2E Test Results

✅ **All tests passed** • 14 passed • 3 skipped • 133s

<details>
<summary>View Details</summary>

| Status | Count |
|--------|-------|
| ✅ Passed | 14 |
| ❌ Failed | 0 |
| ⚠️ Flaky | 2 |
| ⏭️ Skipped | 3 |

</details>

[View full report →](https://github.com/hyperdxio/hyperdx/actions/runs/17862571105)

Copy link
Contributor

E2E Test Results

✅ **All tests passed** • 14 passed • 3 skipped • 128s

| Status | Count |
|--------|-------|
| ✅ Passed | 14 |
| ❌ Failed | 0 |
| ⚠️ Flaky | 2 |
| ⏭️ Skipped | 3 |

[View full report →](https://github.com/hyperdxio/hyperdx/actions/runs/17862753669)

Copy link
Contributor

github-actions bot commented Sep 19, 2025

E2E Test Results

1 test failed • 15 passed • 3 skipped • 124s

Status Count
✅ Passed 15
❌ Failed 1
⚠️ Flaky 0
⏭️ Skipped 3

View full report →

linting

Cleanup unused code

linting

better report commenting

install job deps

increase timeout and adjust README

Update README.md
const rateLimiterKeyGenerator = (req: express.Request) => {
return req.headers.authorization || req.ip;
const rateLimiterKeyGenerator = (req: express.Request): string => {
return req.headers.authorization ?? req.ip ?? 'unknown';
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

linting failure fix

@teeohhem teeohhem requested a review from pulpdrew September 19, 2025 16:25
Copy link
Contributor

@knudtty knudtty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no comments - this is great!

@@ -0,0 +1,190 @@
# End-to-End Testing
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice README!

nit: It could be nice to have a small section in the CONTRIBUTING.md's testing section that points contributors to this document

Comment on lines +7 to +9
- Node.js (>=22.16.0 as specified in package.json)
- Dependencies installed via `yarn install`
- Development server running (automatically handled by test configuration)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This extra step seemed to be required for me

Suggested change
- Node.js (>=22.16.0 as specified in package.json)
- Dependencies installed via `yarn install`
- Development server running (automatically handled by test configuration)
- Node.js (>=22.16.0 as specified in package.json)
- Dependencies installed via `yarn install`
- Playwright installed via `yarn playwright install` in the `packages/app` directory
- Development server running (automatically handled by test configuration)

@teeohhem
Copy link
Contributor Author

@pulpdrew / @knudtty Thanks for the feedback! I'll create follow-up tickets for the readme improvements.

@kodiakhq kodiakhq bot merged commit 83b9c8a into main Sep 20, 2025
7 of 8 checks passed
@kodiakhq kodiakhq bot deleted the tom/add-e2e-tests branch September 20, 2025 01:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants