Skip to content

Add initial E2E test framework for opal-server#861

Open
SiddaAbhishek wants to merge 2 commits intopermitio:masterfrom
SiddaAbhishek:fix-issue-677
Open

Add initial E2E test framework for opal-server#861
SiddaAbhishek wants to merge 2 commits intopermitio:masterfrom
SiddaAbhishek:fix-issue-677

Conversation

@SiddaAbhishek
Copy link

Fixes #677

What was added

  • Introduced E2E test framework for opal-server using PyTest
  • Added initial healthcheck E2E test that starts the real server and validates HTTP response

How to test

  1. Create virtualenv with Python 3.11
  2. Install requirements
  3. Run: pytest packages/opal-server/opal_server/tests

@netlify
Copy link

netlify bot commented Jan 7, 2026

Deploy Preview for opal-docs canceled.

Name Link
🔨 Latest commit 7ec7b62
🔍 Latest deploy log https://app.netlify.com/projects/opal-docs/deploys/6960e60e99b255000803ea47

@SiddaAbhishek
Copy link
Author

SiddaAbhishek commented Jan 7, 2026

I’ve added an initial E2E test framework for opal-server using PyTest.
A demo pictures showing the test setup and successful run is
Screenshot 2026-01-07 at 12 17 57 PM
Screenshot 2026-01-07 at 12 18 24 PM

@SiddaAbhishek SiddaAbhishek changed the title Add initial E2E test framework for opal-serverAdd initial E2E test framework for opal-server Add initial E2E test framework for opal-server Jan 9, 2026
@SiddaAbhishek
Copy link
Author

Added a follow-up commit to stabilize the E2E suite based on real Docker runtime behavior.

Specifically:

  • Filtered known non-fatal Datadog connection errors from log validation
  • Relaxed OPA data assertion to account for valid empty data responses during initial sync

All tests now pass reliably via make e2e-test.
Screenshot 2026-01-09 at 5 12 37 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create E2E tests framework using PyTest

1 participant